mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-30 10:36:41 +00:00
Added mob spawner support; added 'info' tool.
This commit is contained in:
@ -210,6 +210,17 @@ public class Chunk {
|
||||
((TileEntityBlock)block).fromTileEntityNBT(tileEntity);
|
||||
}
|
||||
|
||||
return block;
|
||||
// Mob spawners
|
||||
} else if (id == 52) {
|
||||
MobSpawnerBlock block = new MobSpawnerBlock();
|
||||
|
||||
Map<String,Tag> tileEntity = getBlockTileEntity(pos);
|
||||
|
||||
if (tileEntity != null) {
|
||||
((TileEntityBlock)block).fromTileEntityNBT(tileEntity);
|
||||
}
|
||||
|
||||
return block;
|
||||
} else {
|
||||
return new BaseBlock(id, data);
|
||||
|
Reference in New Issue
Block a user