diff --git a/src/engine/gameManager/DevCmdManager.java b/src/engine/gameManager/DevCmdManager.java index 1590590b..c111d755 100644 --- a/src/engine/gameManager/DevCmdManager.java +++ b/src/engine/gameManager/DevCmdManager.java @@ -194,6 +194,17 @@ public enum DevCmdManager { target = pcSender; break; } + }else{ + switch (adc.getMainCmdString()) { + case "printresists": + case "printstats": + case "printskills": + case "printpowers": + playerAllowed = true; + if (!a.status.equals(Enum.AccountStatus.ADMIN)) + target = pcSender; + break; + } } if (!playerAllowed && !a.status.equals(Enum.AccountStatus.ADMIN)) { Logger.info("Account " + a.getUname() + "attempted to use dev command " + cmd);