diff --git a/src/API/BlockAPI.php b/src/API/BlockAPI.php index 4f994a786..7e7fb5cb9 100644 --- a/src/API/BlockAPI.php +++ b/src/API/BlockAPI.php @@ -184,7 +184,7 @@ class BlockAPI{ } - if(count($drops) > 0){ + if($player->gamemode !== CREATIVE and count($drops) > 0){ foreach($drops as $drop){ $this->drop($target, BlockAPI::getItem($drop[0] & 0xFFFF, $drop[1] & 0xFFFF, $drop[2] & 0xFF)); }