mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
quick fix : Wrapper type may be primitive
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user