Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. } else if (sub[0].equals("dwarp")) {
  2. if (chr.isDonor()) {
  3. MapleCharacter warpto = cserv.getPlayerStorage().getCharacterByName(sub[1]);
  4. if (warpto.gmLevel() > 0) {
  5. chr.dropMessage("You can't warp to GMs!");
  6. }
  7. chr.changeMap(Integer.parseInt(sub[1]));
  8. } else {
  9. chr.dropMessage("You must be a donor to use this command!");
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement