From 53d0d7f78c1f82accbab0f94577a20a73ddd32a0 Mon Sep 17 00:00:00 2001 From: noil Date: Sat, 26 Dec 2020 17:13:37 -0500 Subject: [PATCH] StorageAlert: Use seppuku chat log instead of ingameGUI.getChatGUI --- .../rigamortis/seppuku/impl/module/misc/StorageAlertModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/rigamortis/seppuku/impl/module/misc/StorageAlertModule.java b/src/main/java/me/rigamortis/seppuku/impl/module/misc/StorageAlertModule.java index b15deeb..c528675 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/module/misc/StorageAlertModule.java +++ b/src/main/java/me/rigamortis/seppuku/impl/module/misc/StorageAlertModule.java @@ -97,7 +97,7 @@ public final class StorageAlertModule extends Module { .setStyle(new Style() .setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponentString("\2476" + "Create a waypoint for this position."))) .setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, commandsModule.getPrefix().getValue() + "waypoint add " + String.format("x%s_z%s", position.x, position.y) + " " + position.x + " 120 " + position.y)))); - Minecraft.getMinecraft().ingameGUI.getChatGUI().printChatMessage(textComponent); + Seppuku.INSTANCE.logcChat(textComponent); } } if (this.mode.getValue() == Mode.NOTIFICATION || this.mode.getValue() == Mode.BOTH) {