Fixed stupid errors and improved readability

This commit is contained in:
SoundLogic 2014-08-13 03:15:01 -05:00
parent c0e44c8333
commit a3060ae8e0

View file

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