3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 19:10:07 +01:00

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

Dieser Commit ist enthalten in:
sk89q 2011-03-10 00:32:25 -08:00
Ursprung 8017a346cb
Commit 32417e8e86

Datei anzeigen

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