Fixed snapshot restoration not working on sign blocks and other special tile entity blocks.

This commit is contained in:
sk89q 2011-03-10 00:32:25 -08:00
parent 8017a346cb
commit 32417e8e86

View File

@ -209,10 +209,7 @@ public BaseBlock getBlock(Vector pos) throws DataException {
if (block instanceof TileEntityBlock) {
Map<String,Tag> tileEntity = getBlockTileEntity(pos);
if (tileEntity.containsKey(pos)) {
((TileEntityBlock)block).fromTileEntityNBT(tileEntity);
}
((TileEntityBlock)block).fromTileEntityNBT(tileEntity);
}
return block;