mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:11:35 +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 networkSize;
|
||||
private int validationCountdown;
|
||||
private float lastStressApplied;
|
||||
private float lastCapacityProvided;
|
||||
protected float lastStressApplied;
|
||||
protected float lastCapacityProvided;
|
||||
|
||||
public KineticTileEntity(TileEntityType<?> typeIn) {
|
||||
super(typeIn);
|
||||
|
@ -161,7 +161,7 @@ public abstract class KineticTileEntity extends SmartTileEntity
|
|||
}
|
||||
|
||||
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;
|
||||
return impact;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue