mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-10-26 14:24:20 +00:00
Cache more enum .values() (#113)
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user