Update to support new forge registry system
This commit is contained in:
parent
c8dfcb3ba5
commit
ba644982fe
14 changed files with 43 additions and 49 deletions
|
@ -144,8 +144,8 @@ public class ItemWrench extends ItemTR {
|
|||
if (itemStack.getCount() > 0) {
|
||||
if (itemStack.getItem() instanceof ItemBlock)
|
||||
|
||||
if (!(((ItemBlock) itemStack.getItem()).block instanceof BlockFluidBase) || !(((ItemBlock) itemStack.getItem()).block instanceof BlockStaticLiquid)
|
||||
|| !(((ItemBlock) itemStack.getItem()).block instanceof BlockDynamicLiquid)) {
|
||||
if (!(((ItemBlock) itemStack.getItem()).getBlock() instanceof BlockFluidBase) || !(((ItemBlock) itemStack.getItem()).getBlock() instanceof BlockStaticLiquid)
|
||||
|| !(((ItemBlock) itemStack.getItem()).getBlock() instanceof BlockDynamicLiquid)) {
|
||||
items.add(itemStack.copy());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue