Discussion in 'Development' started by abimalek, Oct 21, 2017.
How would I check if a player has 64 tnt in his or her hand
I know it would be $player->getInventory()->getItemInHand()
but it only checks the id
if($player->getInventory()->getItemInHand()->getCount() === 64)