From 5b9935f737c226847e668bde0185adbc6a5a8b7b Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Wed, 5 Apr 2017 20:41:13 +0300 Subject: some experiments --- 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 287ef9f..ab18ebe 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.getActive()); + this.updateLightState(); needLightTargetUpdate=false; } if(this.prevRotationPitch!=this.rotationPitch) @@ -214,7 +214,7 @@ public class SpotlightTileEntity extends LightBulbTileEntity implements INetwork } @Override - protected void updateLightState(boolean spreadDarkness) + protected void updateLightState() { if(this.getActive()) { -- cgit v1.2.3