Wrench crash fix, cable drop items, cables have hardness
This commit is contained in:
parent
7a5c7df9c2
commit
f4d74f7486
2 changed files with 22 additions and 5 deletions
|
@ -44,6 +44,9 @@ public class ItemWrench extends ItemTR implements ITexturedItem {
|
|||
if(tile == null){
|
||||
return false;
|
||||
}
|
||||
if(!(tile instanceof IInventory)){
|
||||
return false;
|
||||
}
|
||||
|
||||
List<ItemStack> items = new ArrayList<ItemStack>();
|
||||
IInventory inventory = (IInventory) tile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue