mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
make the ESD change on here as well
This commit is contained in:
parent
920f04fb36
commit
f58f02f636
1 changed files with 9 additions and 6 deletions
|
@ -254,12 +254,15 @@ public class TileEntityInputter extends TileEntityInventoryBase implements IButt
|
|||
|
||||
//Is Block not powered by Redstone?
|
||||
if(!this.isRedstonePowered){
|
||||
if(!(this.sideToPull == this.sideToPut && this.slotToPullStart == this.slotToPutStart && this.slotToPullEnd == this.slotToPutEnd)){
|
||||
if(this.sideToPull != -1 && this.placeToPull != null){
|
||||
this.newPulling();
|
||||
}
|
||||
if(StackUtil.isValid(this.slots.getStackInSlot(0)) && this.sideToPut != -1 && this.placeToPut != null){
|
||||
this.newPutting();
|
||||
if(this.ticksElapsed%30 == 0){
|
||||
if(!(this.sideToPull == this.sideToPut && this.slotToPullStart == this.slotToPutStart && this.slotToPullEnd == this.slotToPutEnd)){
|
||||
if(!StackUtil.isValid(this.slots.getStackInSlot(0)) && this.sideToPull != -1 && this.placeToPull != null){
|
||||
this.newPulling();
|
||||
}
|
||||
|
||||
if(StackUtil.isValid(this.slots.getStackInSlot(0)) && this.sideToPut != -1 && this.placeToPut != null){
|
||||
this.newPutting();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue