pai

changed
if (player.getItemInHand().getAmount() == amount)
to
if (player.getItemInHand().getAmount() <= amount)
to prevent negative item amounts ¯\_( ᐛ )_/¯