diff --git a/src/engine/gameManager/DevCmdManager.java b/src/engine/gameManager/DevCmdManager.java index f0b14dd3..a09f041c 100644 --- a/src/engine/gameManager/DevCmdManager.java +++ b/src/engine/gameManager/DevCmdManager.java @@ -184,8 +184,8 @@ public enum DevCmdManager { case "printstats": case "printskills": case "printpowers": - if(target.equals(pcSender)) - playerAllowed = true; + if(!a.status.equals(Enum.AccountStatus.ADMIN)) + target = pcSender; break; } if (!playerAllowed && !a.status.equals(Enum.AccountStatus.ADMIN)) {