Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onDisable() {
- getLogger().info("AfkSaved is disabled");
- for(UUID player: oldlocation.keySet())
- {
- UUID id = player;
- Location l = oldlocation.get(id);
- if(!(locations.contains(id.toString())))
- {
- locations.set("Locations."+id.toString() + ".World", l.getWorld().toString());
- locations.set("Locations."+id.toString() + ".X", l.getX());
- locations.set("Locations."+id.toString() + ".Y", l.getY());
- locations.set("Locations."+id.toString() + ".Z", l.getZ());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement