Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void addLocation(Location loc, String path) {
- if (loc != null && path != null) {
- warps.set(path + ".x", loc.getX());
- warps.set(path + ".y", loc.getY());
- warps.set(path + ".z", loc.getZ());
- warps.set(path + ".yaw", loc.getYaw());
- warps.set(path + ".pitch", loc.getPitch());
- warps.set(path + ".world", loc.getWorld().getName());
- save();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment