From b40f5855f06a305553f82f8de226acb8d42d6af1 Mon Sep 17 00:00:00 2001 From: Bella Date: Fri, 13 Mar 2020 11:51:17 -0400 Subject: [PATCH] store direction as a char not string --- src/main/java/me/zeroeightsix/kami/gui/kami/KamiGUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/zeroeightsix/kami/gui/kami/KamiGUI.java b/src/main/java/me/zeroeightsix/kami/gui/kami/KamiGUI.java index 5a4050fb..0c33f081 100644 --- a/src/main/java/me/zeroeightsix/kami/gui/kami/KamiGUI.java +++ b/src/main/java/me/zeroeightsix/kami/gui/kami/KamiGUI.java @@ -423,7 +423,7 @@ public class KamiGUI extends GUI { int hposX = (int) (mc.player.posX * f); int hposZ = (int) (mc.player.posZ * f); - String direction = mc.player.getHorizontalFacing().toString().toUpperCase().charAt(0) + ""; + char direction = mc.player.getHorizontalFacing().toString().toUpperCase().charAt(0); String colouredSeparator = KamiMod.colour + "7 " + KamiMod.separator + KamiMod.colour + "r"; /* The 7 in the string formatter is the color */