mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Made Firework box redstoneturnoffable
This commit is contained in:
parent
a41f73cf7a
commit
4e83aff1b1
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue