package com.publicuhc.pluginframework.util;

public class Coordinates {

    private double x,y,z;

    public Coordinates(double x, double y, double z)
    {
        this.x = x;
        this.y = y;
        this.z = z;
    }


    public double getX()
    {
        return x;
    }

    public void setX(double x)
    {
        this.x = x;
    }

    public double getY()
    {
        return y;
    }

    public void setY(double y)
    {
        this.y = y;
    }

    public double getZ()
    {
        return z;
    }

    public void setZ(double z)
    {
        this.z = z;
    }
}

@@ -38,16 +38,70 @@
 .util;%0A%0A
+import org.bukkit.Location;%0Aimport org.bukkit.World;%0A%0A
 public c
@@ -273,16 +273,125 @@
 %0A    %7D%0A%0A
+    public Location asLocationForWorld(World world)%0A    %7B%0A        return new Location(world, x, y, z);%0A    %7D%0A
 %0A    pub

add a way to get a location from a coordinates