Cache more enum .values() (#113)

This commit is contained in:
boubou19 authored and GitHub committed 2026-08-11 02:52:53 +02:00
1 parent 52d9d1aedc
commit b813b75a8b
1 file changed
+1 -1
@@ -140,7 +140,7 @@ public class ItemInsulatedTube extends Item {
}
public static Insulate get(int i) {
return values()[i / 128 % VALUES.length];
return VALUES[i / 128 % VALUES.length];
}
public int getColor() {