Fix Alveary bee effects

This commit is contained in:
mezz committed 2015-11-03 20:45:06 -08:00
1 parent eb0a55d91c
commit 407496a0ad
1 file changed
+3 -3
@@ -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);
}
}
}