mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 03:15:28 +00:00
Fix a server bug
This commit is contained in:
1 parent
a401995e7e
commit
f6daefe255
1 file changed
+5
-3
@@ -260,9 +260,11 @@ public abstract class BlockAlveary extends BlockStructure implements IStateMappe
|
||||
TileAlveary tileAlveary = (TileAlveary) tileEntity;
|
||||
|
||||
// We must check that the slabs on top were not removed
|
||||
IAlvearyControllerInternal alvery = tileAlveary.getMultiblockLogic().getController();
|
||||
alvery.reassemble();
|
||||
Proxies.net.sendNetworkPacket(new PacketAlveryChange(alvery), world);
|
||||
IAlvearyControllerInternal alveary = tileAlveary.getMultiblockLogic().getController();
|
||||
alveary.reassemble();
|
||||
if(alveary.getReferenceCoord() != null){
|
||||
Proxies.net.sendNetworkPacket(new PacketAlveryChange(alveary), world);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user