Should fix the server crash

This commit is contained in:
Bysokar 2019-07-28 07:27:54 +10:00
parent 1a4e88b9b0
commit eabbd7ba33

View file

@ -73,7 +73,7 @@ public class InventoryPersonalChest extends InventoryBasic
if (getStack().getItem() instanceof ISustainedInventory) {
((ISustainedInventory)getStack().getItem()).setInventory(tagList, getStack());
} else {
System.out.println("Avoiding a server crash as : " + getStack().getItem().getItemName() + " is not a sustained inventory.");
System.out.println("Avoiding a server crash as : " + getStack().getItem().getClass().getName() + " is not a sustained inventory.");
}
}
}