From e4d4a7c4179d2359dcdadcc49b38470c9db873e3 Mon Sep 17 00:00:00 2001 From: Walker Selby Date: Fri, 21 Oct 2022 13:25:11 -0700 Subject: Code Cleanup (#333) * Remove NeuConfigTutorial.java * Remove NeuTutorial.java * Remove TutorialBase.java * Remove NEU Tutorial Command Initialization from Commands.java * Remove commented-out filter defaults Remove commented-out and replaced rarities String array Remove commented out code for old rendering Invert if statement due to empty if body and used else body * Remove commented-out render Remove commented out divine mentions Remove duplicate additions of Divine rarity * Remove ButtonsCommand.java - Unused, empty, and uninitialized * Remove excessive commented out code of old /neurename * Remove usused initialization Removed old debug console prints * Remove commented out removed options * Remove commented and unused String List Remove commented and unused size settings * Remove unused commented out code * Remove unused commented out code * Remove unused commented code --- src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java index 1ee24ec8..b02565cd 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java @@ -117,7 +117,6 @@ public class Utils { "VERY SPECIAL", "SUPREME", "^^ THAT ONE IS DIVINE ^^" -//, "DIVINE" }; public static String[] rarityArrC = new String[]{ EnumChatFormatting.WHITE + EnumChatFormatting.BOLD.toString() + "COMMON", @@ -129,8 +128,6 @@ public class Utils { EnumChatFormatting.RED + EnumChatFormatting.BOLD.toString() + "SPECIAL", EnumChatFormatting.RED + EnumChatFormatting.BOLD.toString() + "VERY SPECIAL", EnumChatFormatting.AQUA + EnumChatFormatting.BOLD.toString() + "DIVINE", - EnumChatFormatting.AQUA + EnumChatFormatting.BOLD.toString() + "DIVINE", - //EnumChatFormatting.AQUA+EnumChatFormatting.BOLD.toString()+"DIVINE", }; public static final HashMap rarityArrMap = new HashMap() {{ put("COMMON", rarityArrC[0]); @@ -142,7 +139,6 @@ public class Utils { put("SPECIAL", rarityArrC[6]); put("VERY SPECIAL", rarityArrC[7]); put("DIVINE", rarityArrC[8]); - // put("DIVINE", rarityArrC[9]); }}; public static Splitter PATH_SPLITTER = Splitter.on(".").omitEmptyStrings().limit(2); private static ScaledResolution lastScale = new ScaledResolution(Minecraft.getMinecraft()); @@ -1228,7 +1224,6 @@ public class Utils { while ((lines++ < maxLines) || maxLines < 0) { if (trimmed.length() == str.length()) { drawStringScaled(trimmed, fr, x, y + yOff, shadow, colour, scale); - //fr.drawString(trimmed, x, y + yOff, colour, shadow); break; } else if (trimmed.isEmpty()) { yOff -= 12 * scale; -- cgit