mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Fixed Reconstructor and Firework Box redstone mode
This commit is contained in:
parent
4634b4cd2c
commit
c7fcdff17e
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ public class TileEntityAtomicReconstructor extends TileEntityInventoryBase imple
|
||||||
public void updateEntity(){
|
public void updateEntity(){
|
||||||
super.updateEntity();
|
super.updateEntity();
|
||||||
if(!this.worldObj.isRemote){
|
if(!this.worldObj.isRemote){
|
||||||
if(!this.isRedstonePowered){
|
if(!this.isRedstonePowered && !this.activateOnceWithSignal){
|
||||||
if(this.currentTime > 0){
|
if(this.currentTime > 0){
|
||||||
this.currentTime--;
|
this.currentTime--;
|
||||||
if(this.currentTime <= 0){
|
if(this.currentTime <= 0){
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class TileEntityFireworkBox extends TileEntityBase implements IEnergyRece
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateEntity(){
|
public void updateEntity(){
|
||||||
if(!this.worldObj.isRemote && !this.isRedstonePowered){
|
if(!this.worldObj.isRemote && !this.isRedstonePowered && !this.activateOnceWithSignal){
|
||||||
if(this.timeUntilNextFirework > 0){
|
if(this.timeUntilNextFirework > 0){
|
||||||
this.timeUntilNextFirework--;
|
this.timeUntilNextFirework--;
|
||||||
if(this.timeUntilNextFirework <= 0){
|
if(this.timeUntilNextFirework <= 0){
|
||||||
|
|
Loading…
Reference in a new issue