TCheckpoint

This commit is contained in:
tyuXX 2025-06-30 12:06:39 +03:00
parent 665447b178
commit dbc979b4c9
39 changed files with 543 additions and 92 deletions

View file

@ -15,6 +15,13 @@ public class Location {
this.world = Objects.requireNonNull(location.getWorld()).getName();
}
public Location(String world, double x, double y, double z) {
this.x = x;
this.y = y;
this.z = z;
this.world = world;
}
public org.bukkit.Location toBukkitLocation() {
return new org.bukkit.Location(org.bukkit.Bukkit.getWorld(world), x, y, z);
}