mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Various bugfixes with broad mining tools and config additions
This commit is contained in:
1 parent
ae124ac3d4
commit
d641a8eed9
18 files changed
+124
-73
No files matched your search
@@ -49,7 +49,9 @@ public class RedstoneMachine extends InventoryBlock
|
||||
{
|
||||
if (((IInventory) logic).getStackInSlot(1) != null)
|
||||
{
|
||||
return lightValue[((IInventory) logic).getStackInSlot(1).itemID];
|
||||
ItemStack stack = ((IInventory) logic).getStackInSlot(1);
|
||||
if (stack.itemID < 4096 && Block.blocksList[stack.itemID] != null)
|
||||
return lightValue[stack.itemID];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user