mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed snapshot restoration not working on sign blocks and other special tile entity blocks.
This commit is contained in:
parent
8017a346cb
commit
32417e8e86
@ -209,11 +209,8 @@ public class Chunk {
|
|||||||
|
|
||||||
if (block instanceof TileEntityBlock) {
|
if (block instanceof TileEntityBlock) {
|
||||||
Map<String,Tag> tileEntity = getBlockTileEntity(pos);
|
Map<String,Tag> tileEntity = getBlockTileEntity(pos);
|
||||||
|
|
||||||
if (tileEntity.containsKey(pos)) {
|
|
||||||
((TileEntityBlock)block).fromTileEntityNBT(tileEntity);
|
((TileEntityBlock)block).fromTileEntityNBT(tileEntity);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user