Cleaned up a lot of different inspections
This commit is contained in:
parent
0dd0854bd9
commit
70d98455b7
207 changed files with 603 additions and 731 deletions
|
@ -95,10 +95,10 @@ public class ItemPotionFlask extends Item implements IMeshProvider {
|
|||
if (remainingUses <= 0) {
|
||||
NBTHelper.checkNBT(stack);
|
||||
stack.getTagCompound().setBoolean("empty", true);
|
||||
return new ActionResult<ItemStack>(EnumActionResult.PASS, stack);
|
||||
return new ActionResult<>(EnumActionResult.PASS, stack);
|
||||
}
|
||||
player.setActiveHand(hand);
|
||||
return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, stack);
|
||||
return new ActionResult<>(EnumActionResult.SUCCESS, stack);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue