mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 09:43:41 +01:00
Update KineticTileEntity.java
This commit is contained in:
parent
3336778052
commit
40fef0eaf9
1 changed files with 3 additions and 3 deletions
|
@ -53,8 +53,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);
|
||||
|
@ -154,7 +154,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