Improved LUA event spam when accelerator is disabled
This commit is contained in:
parent
91050d2b98
commit
79d21baa5b
1 changed files with 3 additions and 1 deletions
|
@ -695,9 +695,11 @@ public class TileEntityAcceleratorCore extends TileEntityAbstractEnergyCoreOrCon
|
||||||
legacy_isOn = false;
|
legacy_isOn = false;
|
||||||
if (isLeaking) {
|
if (isLeaking) {
|
||||||
temperatureCurrent_K = ACCELERATOR_AMBIENT_TEMPERATURE_K;
|
temperatureCurrent_K = ACCELERATOR_AMBIENT_TEMPERATURE_K;
|
||||||
|
if (isEnabled) {
|
||||||
sendEvent("acceleratorCoolingReset");
|
sendEvent("acceleratorCoolingReset");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WarpDriveText getStatusHeader() {
|
public WarpDriveText getStatusHeader() {
|
||||||
|
|
Loading…
Reference in a new issue