Improved coordinates in logs to be admin friendly
This commit is contained in:
parent
b23c2de68f
commit
b8c530cca8
6 changed files with 6 additions and 6 deletions
|
@ -596,7 +596,7 @@ public class TileEntityLaser extends TileEntityAbstractLaser implements IBeamFre
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s Beam \'%d\' @ \'%s\' %d, %d, %d", new Object[] { getClass().getSimpleName(),
|
||||
return String.format("%s Beam \'%d\' @ \'%s\' (%d %d %d)", new Object[] { getClass().getSimpleName(),
|
||||
beamFrequency, worldObj == null ? "~NULL~" : worldObj.getWorldInfo().getWorldName(), xCoord, yCoord, zCoord });
|
||||
}
|
||||
}
|
|
@ -168,7 +168,7 @@ public class TileEntityCamera extends TileEntityAbstractInterfaced implements IV
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s %d @ \'%s\' %d, %d, %d",
|
||||
return String.format("%s %d @ \'%s\' (%d %d %d)",
|
||||
getClass().getSimpleName(),
|
||||
videoChannel,
|
||||
worldObj == null ? "~NULL~" : worldObj.getWorldInfo().getWorldName(),
|
||||
|
|
|
@ -131,7 +131,7 @@ public class TileEntityMonitor extends TileEntityAbstractInterfaced implements I
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s %d @ \'%s\' %d, %d, %d",
|
||||
return String.format("%s %d @ \'%s\' (%d %d %d)",
|
||||
getClass().getSimpleName(),
|
||||
videoChannel,
|
||||
worldObj == null ? "~NULL~" : worldObj.getWorldInfo().getWorldName(),
|
||||
|
|
|
@ -878,7 +878,7 @@ public class TileEntityShipController extends TileEntityAbstractInterfaced {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s \'%s\' @ \'%s\' %d, %d, %d", new Object[] {
|
||||
return String.format("%s \'%s\' @ \'%s\' (%d %d %d)", new Object[] {
|
||||
getClass().getSimpleName(),
|
||||
core == null ? beaconFrequency : core.shipName,
|
||||
worldObj == null ? "~NULL~" : worldObj.getWorldInfo().getWorldName(),
|
||||
|
|
|
@ -155,7 +155,7 @@ public class TileEntityLaserCamera extends TileEntityLaser implements IVideoChan
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s Beam \'%d\' Camera \'%d\' @ \'%s\' %d, %d, %d", new Object[] { getClass().getSimpleName(),
|
||||
return String.format("%s Beam \'%d\' Camera \'%d\' @ \'%s\' (%d %d %d)", new Object[] { getClass().getSimpleName(),
|
||||
beamFrequency, videoChannel, worldObj == null ? "~NULL~" : worldObj.getWorldInfo().getWorldName(), xCoord, yCoord, zCoord });
|
||||
}
|
||||
}
|
|
@ -288,7 +288,7 @@ public class CloakedArea {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s @ DIM%d %d, %d, %d (%d %d %d) -> (%d %d %d)",
|
||||
return String.format("%s @ DIM%d (%d %d %d) (%d %d %d) -> (%d %d %d)",
|
||||
getClass().getSimpleName(), Integer.valueOf(dimensionId),
|
||||
Integer.valueOf(coreX), Integer.valueOf(coreY), Integer.valueOf(coreZ),
|
||||
Integer.valueOf(minX), Integer.valueOf(minY), Integer.valueOf(minZ),
|
||||
|
|
Loading…
Reference in a new issue