This commit is contained in:
Adubbz 2014-02-15 10:40:11 +11:00
commit 1f90461b3e

View file

@ -120,12 +120,17 @@ public class ItemBOPFood extends ItemFood
if (!player.inventory.addItemStackToInventory(new ItemStack(Items.bowl))) if (!player.inventory.addItemStackToInventory(new ItemStack(Items.bowl)))
//TODO: player.dropPlayerItem(ItemStack itemStack)? //TODO: player.dropPlayerItem(ItemStack itemStack)?
player.dropPlayerItemWithRandomChoice(new ItemStack(Items.bowl, 1, 0), false); player.dropPlayerItemWithRandomChoice(new ItemStack(Items.bowl, 1, 0), false);
break;
case 5: case 5:
if (!player.inventory.addItemStackToInventory(new ItemStack(Items.bowl))) if (!player.inventory.addItemStackToInventory(new ItemStack(Items.bowl)))
player.dropPlayerItemWithRandomChoice(new ItemStack(Items.bowl, 1, 0), false); player.dropPlayerItemWithRandomChoice(new ItemStack(Items.bowl, 1, 0), false);
break;
case 6: case 6:
if (!player.inventory.addItemStackToInventory(new ItemStack(Items.bowl))) if (!player.inventory.addItemStackToInventory(new ItemStack(Items.bowl)))
player.dropPlayerItemWithRandomChoice(new ItemStack(Items.bowl, 1, 0), false); player.dropPlayerItemWithRandomChoice(new ItemStack(Items.bowl, 1, 0), false);
break;
case 10: case 10:
if (!player.inventory.addItemStackToInventory(new ItemStack(Items.glass_bottle))) if (!player.inventory.addItemStackToInventory(new ItemStack(Items.glass_bottle)))