@Override public void onNewPlayer(EntityPlayer ep) { if (ReikaInventoryHelper.checkForItemStack(this.getItem(), ep.inventory, false)) return; if (!ep.inventory.addItemStackToInventory(this.getItem())) ep.dropPlayerItemWithRandomChoice(this.getItem(), true); }
@Override public boolean hasAmmo() { return ReikaInventoryHelper.checkForItemStack(ItemStacks.scrap, inv, false); }