Some further improvements to the security audit
This commit is contained in:
parent
0b15c56037
commit
1bcf7f9d52
3 changed files with 4 additions and 4 deletions
|
@ -84,7 +84,7 @@ public class DimensionalCoord extends WorldCoord
|
||||||
@Override
|
@Override
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
return this.dimId + "," + super.toString();
|
return "dimension=" + this.dimId + ", " + super.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public World getWorld()
|
public World getWorld()
|
||||||
|
|
|
@ -148,7 +148,7 @@ public class WorldCoord
|
||||||
@Override
|
@Override
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
return "" + this.x + "," + this.y + "," + this.z;
|
return "x=" + this.x + ", y=" + this.y + ", z=" + this.z;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -66,8 +66,8 @@ public class GridConnection implements IGridConnection, IPathItem
|
||||||
final DimensionalCoord aCoordinates = a.getGridBlock().getLocation();
|
final DimensionalCoord aCoordinates = a.getGridBlock().getLocation();
|
||||||
final DimensionalCoord bCoordinates = b.getGridBlock().getLocation();
|
final DimensionalCoord bCoordinates = b.getGridBlock().getLocation();
|
||||||
|
|
||||||
AELog.info( "Security audit 1 failed at [x=%d, y=%d, z=%d] belonging to player [id=%d]", aCoordinates.x, aCoordinates.y, aCoordinates.z, a.playerID );
|
AELog.info( "Security audit 1 failed at [%s] belonging to player [id=%d]", aCoordinates.toString(), a.playerID );
|
||||||
AELog.info( "Security audit 2 failed at [x=%d, y=%d, z=%d] belonging to player [id=%d]", bCoordinates.x, bCoordinates.y, bCoordinates.z, b.playerID );
|
AELog.info( "Security audit 2 failed at [%s] belonging to player [id=%d]", bCoordinates.toString(), b.playerID );
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new FailedConnection();
|
throw new FailedConnection();
|
||||||
|
|
Loading…
Reference in a new issue