diff --git a/src/main/java/me/rigamortis/seppuku/impl/command/SearchCommand.java b/src/main/java/me/rigamortis/seppuku/impl/command/SearchCommand.java index 1a4d73c..0c4e449 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/command/SearchCommand.java +++ b/src/main/java/me/rigamortis/seppuku/impl/command/SearchCommand.java @@ -157,7 +157,7 @@ public final class SearchCommand extends Command { .setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponentString(Block.getBlockById(i).getLocalizedName()))))); } - Minecraft.getMinecraft().ingameGUI.getChatGUI().printChatMessage(msg); + Seppuku.INSTANCE.logcChat(msg); } else { Seppuku.INSTANCE.logChat("You don't have any search ids"); } diff --git a/src/main/java/me/rigamortis/seppuku/impl/command/XrayCommand.java b/src/main/java/me/rigamortis/seppuku/impl/command/XrayCommand.java index f5f90ae..2c6db7c 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/command/XrayCommand.java +++ b/src/main/java/me/rigamortis/seppuku/impl/command/XrayCommand.java @@ -154,7 +154,7 @@ public final class XrayCommand extends Command { } if (xray.getIds().size() > 0) { - final TextComponentString msg = new TextComponentString("\247Xray IDs: "); + final TextComponentString msg = new TextComponentString("\2477Xray IDs: "); for (int i : xray.getIds()) { msg.appendSibling(new TextComponentString("\2477[\247a" + i + "\2477] ") @@ -162,7 +162,7 @@ public final class XrayCommand extends Command { .setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponentString(Block.getBlockById(i).getLocalizedName()))))); } - Minecraft.getMinecraft().ingameGUI.getChatGUI().printChatMessage(msg); + Seppuku.INSTANCE.logcChat(msg); } else { Seppuku.INSTANCE.logChat("You don't have any search ids"); }