From 7305ba719930ea3fbf8aa987aeec48b33cdbd82e Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Tue, 21 Mar 2017 17:34:07 +0300 Subject: Oregen --- ihl/enviroment/SpotlightTileEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ihl/enviroment/SpotlightTileEntity.java') diff --git a/ihl/enviroment/SpotlightTileEntity.java b/ihl/enviroment/SpotlightTileEntity.java index ab18ebe..287ef9f 100644 --- a/ihl/enviroment/SpotlightTileEntity.java +++ b/ihl/enviroment/SpotlightTileEntity.java @@ -111,7 +111,7 @@ public class SpotlightTileEntity extends LightBulbTileEntity implements INetwork if(needLightTargetUpdate) { this.generateGlowningAirList(); - this.updateLightState(); + this.updateLightState(this.getActive()); needLightTargetUpdate=false; } if(this.prevRotationPitch!=this.rotationPitch) @@ -214,7 +214,7 @@ public class SpotlightTileEntity extends LightBulbTileEntity implements INetwork } @Override - protected void updateLightState() + protected void updateLightState(boolean spreadDarkness) { if(this.getActive()) { -- cgit v1.2.3