breakable = false; } public function isBreakable(Item $item, Player $player){ if($player->gamemode === CREATIVE){ return true; } return false; } }