Guest User

Untitled

a guest
Mar 9th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. public void setWarp(String warp, Location location) {
  2. try
  3. {
  4. warps.set("Warps."+warp, location);
  5. Locationmanager locationmanager = new Locationmanager();
  6. locationmanager.addLocation(location, "Warps."+(warp));
  7. locationmanager.setWarpName(warp.toLowerCase());
  8. }
  9. catch (NullPointerException e)
  10. {
  11. System.out.println("[System] Nullpointer beim Warp speichern");
  12. }
  13. save();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment