Improved log message upon reactor explosion
This commit is contained in:
parent
c4806ef1c1
commit
08adaee6dc
1 changed files with 7 additions and 2 deletions
|
@ -230,8 +230,13 @@ public class TileEntityEnanReactorLaser extends TileEntityAbstractLaser implemen
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!laserMedium_consumeExactly(energy, false)) {
|
if (!laserMedium_consumeExactly(energy, false)) {
|
||||||
WarpDrive.logger.warn(String.format("ReactorLaser %s on %s side doesn't have enough energy %d",
|
WarpDrive.logger.warn(String.format("ReactorLaser %s on %s side doesn't have enough energy %d/%d while core can output %d/%d",
|
||||||
Commons.format(world, pos), reactorFace.name, energy));
|
Commons.format(world, pos),
|
||||||
|
reactorFace.name,
|
||||||
|
laserMedium_getEnergyStored(true),
|
||||||
|
energy,
|
||||||
|
reactorCore.energy_getPotentialOutput(),
|
||||||
|
reactorCore.energy_getEnergyStored() ));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue