Post your full switch statement..
You can't just play case "admin" anywhere.
|
Hey, so im trying to make myself Admin, but im getting Orphaned Case error. Can anyone help me out? Heres my code:
case "admin":
if (player.getUsername().equalsIgnoreCase("Ex")) {
player.setRights(3);
player.getAppearence().generateAppearenceData();
}
Thanks
Post your full switch statement..
You can't just play case "admin" anywhere.
don't forget your break;
Add break; under the last bracket for that case.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |