Merge pull request #973 from yueh/feature-improve-security-audit-log
Some further improvements to the security audit
This commit is contained in:
commit
311939c63c
3 changed files with 4 additions and 4 deletions
|
@ -84,7 +84,7 @@ public class DimensionalCoord extends WorldCoord
|
|||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return this.dimId + "," + super.toString();
|
||||
return "dimension=" + this.dimId + ", " + super.toString();
|
||||
}
|
||||
|
||||
public World getWorld()
|
||||
|
|
|
@ -148,7 +148,7 @@ public class WorldCoord
|
|||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "" + this.x + "," + this.y + "," + this.z;
|
||||
return "x=" + this.x + ", y=" + this.y + ", z=" + this.z;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -66,8 +66,8 @@ public class GridConnection implements IGridConnection, IPathItem
|
|||
final DimensionalCoord aCoordinates = a.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 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 1 failed at [%s] belonging to player [id=%d]", aCoordinates.toString(), a.playerID );
|
||||
AELog.info( "Security audit 2 failed at [%s] belonging to player [id=%d]", bCoordinates.toString(), b.playerID );
|
||||
}
|
||||
|
||||
throw new FailedConnection();
|
||||
|
|
Loading…
Reference in a new issue