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,7 +695,9 @@ public class TileEntityAcceleratorCore extends TileEntityAbstractEnergyCoreOrCon
|
|||
legacy_isOn = false;
|
||||
if (isLeaking) {
|
||||
temperatureCurrent_K = ACCELERATOR_AMBIENT_TEMPERATURE_K;
|
||||
sendEvent("acceleratorCoolingReset");
|
||||
if (isEnabled) {
|
||||
sendEvent("acceleratorCoolingReset");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue