mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
It's EdwardR's fault
This commit is contained in:
parent
de46e22840
commit
5b5e261181
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ public class TileEntityItemRepairer extends TileEntityInventoryBase implements I
|
|||
|
||||
public static final int SLOT_INPUT = 0;
|
||||
public static final int SLOT_OUTPUT = 1;
|
||||
public static final int ENERGY_USE = 1500;
|
||||
public static final int ENERGY_USE = 5000;
|
||||
public final EnergyStorage storage = new EnergyStorage(300000);
|
||||
public int nextRepairTick;
|
||||
private int lastEnergy;
|
||||
|
@ -87,7 +87,7 @@ public class TileEntityItemRepairer extends TileEntityInventoryBase implements I
|
|||
if(this.storage.getEnergyStored() >= ENERGY_USE){
|
||||
this.nextRepairTick++;
|
||||
this.storage.extractEnergy(ENERGY_USE, false);
|
||||
if(this.nextRepairTick >= 2){
|
||||
if(this.nextRepairTick >= 4){
|
||||
this.nextRepairTick = 0;
|
||||
input.setItemDamage(input.getItemDamage()-1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue