summaryrefslogtreecommitdiff
path: root/ihl/enviroment/SpotlightTileEntity.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-03-21 17:34:07 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-03-21 17:34:07 +0300
commit7305ba719930ea3fbf8aa987aeec48b33cdbd82e (patch)
tree2307517925d965cd9228c8649013b07639987846 /ihl/enviroment/SpotlightTileEntity.java
parent5cb4c6e24033cf337812390d99a6817d24d21eab (diff)
Oregen
Diffstat (limited to 'ihl/enviroment/SpotlightTileEntity.java')
-rw-r--r--ihl/enviroment/SpotlightTileEntity.java4
1 files changed, 2 insertions, 2 deletions
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())
{