diff --git a/src/API/BlockAPI.php b/src/API/BlockAPI.php index 69e6019f8..4d3d372bd 100644 --- a/src/API/BlockAPI.php +++ b/src/API/BlockAPI.php @@ -289,7 +289,7 @@ class BlockAPI{ $t->data["creator"] = $player->username; } - if($this->server->gamemode === SURVIVAL or $this->server->gamemode === ADVENTURE){ + if($player->gamemode !== CREATIVE){ $player->removeItem($item->getID(), $item->getMetadata(), 1); }