From f27b580e018f1c90ccaccc7b781fb74456aaca58 Mon Sep 17 00:00:00 2001 From: ganymedes01 Date: Sun, 12 Jan 2014 16:50:24 +0000 Subject: [PATCH] Fix for calcinator light level update Force a light level update every time the tile entity state is changed. Could also be done by sending an eventId == 6 and make that update the light level, but I think this way is simpler and it makes sure the light level is updated only after the state is changed --- src/main/java/com/pahimar/ee3/tileentity/TileCalcinator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/pahimar/ee3/tileentity/TileCalcinator.java b/src/main/java/com/pahimar/ee3/tileentity/TileCalcinator.java index 352a3928..e117bc18 100644 --- a/src/main/java/com/pahimar/ee3/tileentity/TileCalcinator.java +++ b/src/main/java/com/pahimar/ee3/tileentity/TileCalcinator.java @@ -126,6 +126,7 @@ public class TileCalcinator extends TileEE implements IInventory if (eventId == 1) { this.state = (byte) eventData; + this.worldObj.updateAllLightTypes(this.xCoord, this.yCoord, this.zCoord); return true; } else if (eventId == 2)