Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- } else if (sub[0].equals("dwarp")) {
- if (chr.isDonor()) {
- MapleCharacter warpto = cserv.getPlayerStorage().getCharacterByName(sub[1]);
- if (warpto.gmLevel() > 0) {
- chr.dropMessage("You can't warp to GMs!");
- }
- chr.changeMap(Integer.parseInt(sub[1]));
- } else {
- chr.dropMessage("You must be a donor to use this command!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement