mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 23:53:42 +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 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);
|
||||||
|
@ -154,7 +154,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