From cc7b08cd09d3ebab217133ee3faa9e55b3fb994d Mon Sep 17 00:00:00 2001 From: bdew Date: Tue, 29 Sep 2015 17:36:48 +0300 Subject: [PATCH] Fixed bee FX --- src/net/bdew/gendustry/machines/apiary/TileApiary.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/net/bdew/gendustry/machines/apiary/TileApiary.scala b/src/net/bdew/gendustry/machines/apiary/TileApiary.scala index bcbb983..cac573a 100644 --- a/src/net/bdew/gendustry/machines/apiary/TileApiary.scala +++ b/src/net/bdew/gendustry/machines/apiary/TileApiary.scala @@ -116,6 +116,8 @@ with IBeeHousingInventory { } ) + sendClientUpdate.listen(tag => logic.syncToClient()) + serverTick.listen(() => { movePrincess = false @@ -261,7 +263,7 @@ with IBeeHousingInventory { override def getBeeInventory: IBeeHousingInventory = this override def getBeeListeners = Collections.singletonList(this) override def getBeeModifiers = Collections.singletonList(this) - override def getBeekeepingLogic: IBeekeepingLogic = beeRoot.createBeekeepingLogic(this) + override def getBeekeepingLogic: IBeekeepingLogic = logic override def getBlockLightValue: Int = worldObj.getBlockLightValue(xCoord, yCoord + 1, zCoord) override def canBlockSeeTheSky: Boolean = worldObj.canBlockSeeTheSky(xCoord, yCoord + 1, zCoord)