Wrench crash fix, cable drop items, cables have hardness

This commit is contained in:
modmuss50 2016-03-06 15:02:17 +00:00
parent 7a5c7df9c2
commit f4d74f7486
2 changed files with 22 additions and 5 deletions

View file

@ -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;