Skip to content

Commit

Permalink
Remove unnecessary debug logs.
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed Jul 5, 2013
1 parent 2d8bd4a commit 46a0e08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Expand Up @@ -28,7 +28,6 @@ public void transferPlayerToDimension(EntityPlayerMP entityPlayerMP, int toDimen
fromDimension = this.mcServer.worldServerForDimension(fromDimensionId);
entityPlayerMP.dimension = toDimensionId;
toDimension = this.mcServer.worldServerForDimension(toDimensionId);
Log.info(entityPlayerMP + " changed dimension from " + Log.name(fromDimension) + " to " + Log.name(toDimension));
if (fromDimension == toDimension) {
if (!toDimension.playerEntities.contains(entityPlayerMP)) {
toDimension.spawnEntityInWorld(entityPlayerMP);
Expand Down
Expand Up @@ -37,9 +37,7 @@ public Boolean checkPermission(EntityPlayer entityPlayer) {
return null;
}
String perm = this.getClass().getName();
boolean result = permissions.has(entityPlayer, perm);
Log.info("Got " + result + " for " + perm + " for " + entityPlayer.username);
return result;
return permissions.has(entityPlayer, perm);
}

public static void sendChat(ICommandSender commandSender, String message) {
Expand Down

0 comments on commit 46a0e08

Please sign in to comment.