diff --git a/src/material/item/generic/Painting.php b/src/material/item/generic/Painting.php index 6c90393fd..a82a87db3 100644 --- a/src/material/item/generic/Painting.php +++ b/src/material/item/generic/Painting.php @@ -75,7 +75,7 @@ class PaintingItem extends Item{ $e = $server->api->entity->add($level, ENTITY_OBJECT, OBJECT_PAINTING, $data); $server->api->entity->spawnToAll($e); if(($player->gamemode & 0x01) === 0x00){ - $player->removeItem($this->getID(), $this->getMetadata(), 1); + $player->removeItem($this->getID(), $this->getMetadata(), 1, false); } return true; }