aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LockedChestTile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/LockedChestTile.cpp')
-rw-r--r--Minecraft.World/LockedChestTile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/LockedChestTile.cpp b/Minecraft.World/LockedChestTile.cpp
index 774fb929..8873820e 100644
--- a/Minecraft.World/LockedChestTile.cpp
+++ b/Minecraft.World/LockedChestTile.cpp
@@ -13,7 +13,7 @@ bool LockedChestTile::mayPlace(Level *level, int x, int y, int z)
void LockedChestTile::tick(Level *level, int x, int y, int z, Random *random)
{
- level->setTile(x,y,z,0);
+ level->removeTile(x, y, z);
}
void LockedChestTile::registerIcons(IconRegister *iconRegister)