This commit is contained in:
Gokalp Sen 2025-06-05 23:18:46 +03:00
parent 79098e3e24
commit e0914b029b
54 changed files with 688 additions and 221 deletions

View file

@ -0,0 +1,19 @@
package org.gsdistance.grimmsServer.Constructable;
public class Location {
public double x;
public double y;
public double z;
public String world;
public Location(org.bukkit.Location location) {
this.x = location.getX();
this.y = location.getY();
this.z = location.getZ();
this.world = location.getWorld().getName();
}
public org.bukkit.Location toBukkitLocation() {
return new org.bukkit.Location(org.bukkit.Bukkit.getWorld(world), x, y, z);
}
}