Guest User

Untitled

a guest
Mar 9th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. public void addLocation(Location loc, String path) {
  2. if (loc != null && path != null) {
  3. warps.set(path + ".x", loc.getX());
  4. warps.set(path + ".y", loc.getY());
  5. warps.set(path + ".z", loc.getZ());
  6. warps.set(path + ".yaw", loc.getYaw());
  7. warps.set(path + ".pitch", loc.getPitch());
  8. warps.set(path + ".world", loc.getWorld().getName());
  9. save();
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment