mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-28 16:06:48 +01:00
commit
c82896998c
1 changed files with 3 additions and 3 deletions
|
@ -60,8 +60,8 @@ public abstract class KineticTileEntity extends SmartTileEntity
|
||||||
private int flickerTally;
|
private int flickerTally;
|
||||||
private int networkSize;
|
private int networkSize;
|
||||||
private int validationCountdown;
|
private int validationCountdown;
|
||||||
private float lastStressApplied;
|
protected float lastStressApplied;
|
||||||
private float lastCapacityProvided;
|
protected float lastCapacityProvided;
|
||||||
|
|
||||||
public KineticTileEntity(TileEntityType<?> typeIn) {
|
public KineticTileEntity(TileEntityType<?> typeIn) {
|
||||||
super(typeIn);
|
super(typeIn);
|
||||||
|
@ -161,7 +161,7 @@ public abstract class KineticTileEntity extends SmartTileEntity
|
||||||
}
|
}
|
||||||
|
|
||||||
public float calculateStressApplied() {
|
public float calculateStressApplied() {
|
||||||
float impact = (float) AllConfigs.SERVER.kinetics.stressValues.getImpactOf(getBlockState().getBlock());
|
float impact = (float) AllConfigs.SERVER.kinetics.stressValues.getImpactOf(getStressConfigKey());
|
||||||
this.lastStressApplied = impact;
|
this.lastStressApplied = impact;
|
||||||
return impact;
|
return impact;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue