diff --git a/src/main/java/forestry/apiculture/BeekeepingLogic.java b/src/main/java/forestry/apiculture/BeekeepingLogic.java index 5e01953fb..de80f55fb 100755 --- a/src/main/java/forestry/apiculture/BeekeepingLogic.java +++ b/src/main/java/forestry/apiculture/BeekeepingLogic.java @@ -422,10 +422,10 @@ public class BeekeepingLogic implements IBeekeepingLogic, IStreamable { public void syncToClient() { World world = housing.getWorld(); if (world != null && !world.isRemote) { - if (housing instanceof TileEntity) { - Proxies.net.sendNetworkPacket(new PacketBeeLogicActive(housing), world); - } else if (housing instanceof Entity) { + if (housing instanceof Entity) { Proxies.net.sendNetworkPacket(new PacketBeeLogicActiveEntity(housing, (Entity) housing), world); + } else { + Proxies.net.sendNetworkPacket(new PacketBeeLogicActive(housing), world); } } }