diff --git a/src/pocketmine/item/SpawnEgg.php b/src/pocketmine/item/SpawnEgg.php index 481f747b4..4b638a11a 100644 --- a/src/pocketmine/item/SpawnEgg.php +++ b/src/pocketmine/item/SpawnEgg.php @@ -44,9 +44,7 @@ class SpawnEgg extends Item{ $entity = Entity::createEntity($this->meta, $level, $nbt); if($entity instanceof Entity){ - if($player->isSurvival()){ - --$this->count; - } + --$this->count; $entity->spawnToAll(); return true; }