summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSpawnEgg.h
diff options
context:
space:
mode:
authorhallucino <d@t0t0.fr>2015-07-16 15:06:54 +0200
committerhallucino <d@t0t0.fr>2015-07-16 22:49:55 +0200
commit9c85ed5864d53057ebde6f756f89b400172e52b5 (patch)
tree2dda40bc792a22b420105e89c2f4d18a49c18fff /src/Items/ItemSpawnEgg.h
parentMerge pull request #2348 from bibo38/customname (diff)
downloadcuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.gz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.bz2
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.lz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.xz
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.zst
cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemSpawnEgg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemSpawnEgg.h b/src/Items/ItemSpawnEgg.h
index b67fe074d..85dd2d245 100644
--- a/src/Items/ItemSpawnEgg.h
+++ b/src/Items/ItemSpawnEgg.h
@@ -40,7 +40,7 @@ public:
eMonsterType MonsterType = ItemDamageToMonsterType(a_Item.m_ItemDamage);
if (
(MonsterType != mtInvalidType) && // Valid monster type
- (a_World->SpawnMob(a_BlockX + 0.5, a_BlockY, a_BlockZ + 0.5, MonsterType) != cEntity::INVALID_ID)) // Spawning succeeded
+ (a_World->SpawnMob(a_BlockX + 0.5, a_BlockY, a_BlockZ + 0.5, MonsterType, false) != cEntity::INVALID_ID)) // Spawning succeeded
{
if (!a_Player->IsGameModeCreative())
{