File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed
src/main/java/com/github/kd_gaming1/scaleme/client/util Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -97,24 +97,10 @@ public static boolean isInDungeon() {
9797 return false ;
9898 }
9999
100- /**
101- * Debug helper for printing character code points.
102- * Only enable this when diagnosing scoreboard parsing issues.
103- */
104- @ SuppressWarnings ("unused" )
105- private static void printCodePoints (String name , String s ) {
106- StringBuilder out = new StringBuilder ();
107- out .append (name ).append (": " );
108- for (int i = 0 ; i < s .length (); i ++) {
109- out .append (String .format ("[%c U+%04X] " , s .charAt (i ), (int ) s .charAt (i )));
110- }
111- System .out .println (out );
112- }
113-
114100 /**
115101 * Strips Minecraft formatting codes (§ followed by any character).
116102 */
117103 private static String stripColors (String text ) {
118104 return text .replaceAll ("§." , "" );
119105 }
120- }
106+ }
Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ public static float getCurrentScale(UUID playerUUID) {
3434 /** Returns NPC scale with safety check including dungeons detection. */
3535 public static float getNpcScale () {
3636 // Only apply scaling when it's safe (not in competitive modes or dungeons)
37- if (HypixelDetector .isSafeGameMode () || HypixelDetector . isSafeForNPCScaling ()) return 1.0f ;
37+ if (HypixelDetector .isSafeForNPCScaling ()) return 1.0f ;
3838 return ScaleMeConfig .npcPlayerScale ;
3939 }
4040
4141 /** Returns Villager NPC scale with safety check including dungeons detection. */
4242 public static float getVillagerNpcScale () {
4343 // Only apply scaling when it's safe (not in competitive modes or dungeons)
44- if (HypixelDetector .isSafeGameMode () || HypixelDetector . isSafeForNPCScaling ()) return 1.0f ;
44+ if (HypixelDetector .isSafeForNPCScaling ()) return 1.0f ;
4545 return ScaleMeConfig .villagerNpcScale ;
4646 }
4747}
You can’t perform that action at this time.
0 commit comments