Initial stab at 1.11
About halfway.
This commit is contained in:
parent
ce52aea512
commit
00d6f8eb46
157 changed files with 1036 additions and 1554 deletions
|
@ -67,7 +67,7 @@ public class RitualFullStomach extends Ritual
|
|||
for (int i = lastSlot; i < inventory.getSizeInventory(); i++)
|
||||
{
|
||||
ItemStack stack = inventory.getStackInSlot(i);
|
||||
if (stack != null && stack.getItem() instanceof ItemFood)
|
||||
if (!stack.isEmpty() && stack.getItem() instanceof ItemFood)
|
||||
{
|
||||
ItemFood foodItem = (ItemFood) stack.getItem();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue