Browse Source

allow some dev commands for players (print)

lakebane-new
FatBoy-DOTC 6 months ago
parent
commit
2fb97a676f
  1. 4
      src/engine/gameManager/DevCmdManager.java

4
src/engine/gameManager/DevCmdManager.java

@ -184,8 +184,8 @@ public enum DevCmdManager { @@ -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)) {

Loading…
Cancel
Save