From 4e83aff1b1fa1d8c42296b6643b635abb2b241d4 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 16 Dec 2015 20:07:22 +0100 Subject: [PATCH] Made Firework box redstoneturnoffable --- .../ellpeck/actuallyadditions/tile/TileEntityFireworkBox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ellpeck/actuallyadditions/tile/TileEntityFireworkBox.java b/src/main/java/ellpeck/actuallyadditions/tile/TileEntityFireworkBox.java index 4df78ef62..281f75cfe 100644 --- a/src/main/java/ellpeck/actuallyadditions/tile/TileEntityFireworkBox.java +++ b/src/main/java/ellpeck/actuallyadditions/tile/TileEntityFireworkBox.java @@ -32,7 +32,7 @@ public class TileEntityFireworkBox extends TileEntityBase implements IEnergyRece @Override public void updateEntity(){ - if(!this.worldObj.isRemote){ + if(!this.worldObj.isRemote && !this.isRedstonePowered){ if(this.timeUntilNextFirework > 0){ this.timeUntilNextFirework--; if(this.timeUntilNextFirework <= 0 && this.storage.getEnergyStored() >= USE_PER_SHOT){