mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Add an alternative way to craft bolts with config (default off) #1295
This commit is contained in:
1 parent
1a18389825
commit
195dfc76f8
3 files changed
+8
-1
No files matched your search
@@ -109,7 +109,7 @@ public class DualMaterialToolPart extends DynamicToolPart {
|
||||
if(renderpass > 0)
|
||||
{
|
||||
int matId = getMaterialID2(stack);
|
||||
if(matId > icons2.length)
|
||||
if(matId > icons2.length || matId < 0)
|
||||
return super.getColorFromItemStack(stack, renderpass);
|
||||
|
||||
if(icons[matId] == null)
|
||||
|
||||
Reference in new issue
Block a user