Fixed stupid errors and improved readability
This commit is contained in:
parent
c0e44c8333
commit
a3060ae8e0
1 changed files with 6 additions and 2 deletions
|
@ -61,6 +61,10 @@ public class ItemBOPFood extends ItemFood
|
|||
|
||||
public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitVecX, float hitVecY, float hitVecZ)
|
||||
{
|
||||
if (stack.getItemDamage() != 2)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (side != 1)
|
||||
{
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue