Could do
orCode:if (playerCommand.equalsIgnoreCase("god")) { if(c.playerRights != 3) { return; } c.getPA().requestUpdates(); c.playerLevel[3] = 99999; c.getPA().refreshSkill(3); c.gfx0(754); c.sendMessage("You are now a god."); }
Code:if (playerCommand.equalsIgnoreCase("god") && c.playerRights == 3) { c.getPA().requestUpdates(); c.playerLevel[3] = 99999; c.getPA().refreshSkill(3); c.gfx0(754); c.sendMessage("You are now a god."); }