aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/StrongholdPieces.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/StrongholdPieces.cpp')
-rw-r--r--Minecraft.World/StrongholdPieces.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/StrongholdPieces.cpp b/Minecraft.World/StrongholdPieces.cpp
index a6f47cf0..05ccec39 100644
--- a/Minecraft.World/StrongholdPieces.cpp
+++ b/Minecraft.World/StrongholdPieces.cpp
@@ -1473,7 +1473,7 @@ bool StrongholdPieces::PortalRoom::postProcess(Level *level, Random *random, Bou
hasPlacedMobSpawner = true;
level->setTile(x, y, z, Tile::mobSpawner_Id);
- std::shared_ptr<MobSpawnerTileEntity> entity = std::dynamic_pointer_cast<MobSpawnerTileEntity>(level->getTileEntity(x, y, z));
+ std::shared_ptr<MobSpawnerTileEntity> entity = dynamic_pointer_cast<MobSpawnerTileEntity>(level->getTileEntity(x, y, z));
if (entity != NULL) entity->setEntityId(L"Silverfish");
}
}