store direction as a char not string

This commit is contained in:
Bella 2020-03-13 11:51:17 -04:00
parent 1593492321
commit b40f5855f0
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 1 additions and 1 deletions

View File

@ -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 */