quick fix : Wrapper type may be primitive

This commit is contained in:
Alexdoru committed 2023-01-25 21:55:29 +01:00
1 parent bf6097d920
commit 44d9b01f8f
5 files changed
+5 -5

No files matched your search

@@ -593,7 +593,7 @@ public abstract class ToolCore extends Item implements IEnergyContainerItem, IEq
if (tags.hasKey(key + "Color")) return tags.getInteger(key + "Color");
// custom texture?
Integer matId = tags.getInteger("Render" + key);
int matId = tags.getInteger("Render" + key);
if (map.containsKey(matId)) return super.getColorFromItemStack(stack, renderPass);
// color default texture with material color