From 32417e8e86fef04d40f54080cb581c61c0301cf3 Mon Sep 17 00:00:00 2001 From: sk89q Date: Thu, 10 Mar 2011 00:32:25 -0800 Subject: [PATCH] Fixed snapshot restoration not working on sign blocks and other special tile entity blocks. --- src/com/sk89q/worldedit/data/Chunk.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/com/sk89q/worldedit/data/Chunk.java b/src/com/sk89q/worldedit/data/Chunk.java index 3c05cd4f7..154e1cf7d 100644 --- a/src/com/sk89q/worldedit/data/Chunk.java +++ b/src/com/sk89q/worldedit/data/Chunk.java @@ -209,10 +209,7 @@ public class Chunk { if (block instanceof TileEntityBlock) { Map tileEntity = getBlockTileEntity(pos); - - if (tileEntity.containsKey(pos)) { - ((TileEntityBlock)block).fromTileEntityNBT(tileEntity); - } + ((TileEntityBlock)block).fromTileEntityNBT(tileEntity); } return block;