diff --git a/pom.xml b/pom.xml index 1033d2a6..417bc9b1 100644 --- a/pom.xml +++ b/pom.xml @@ -182,14 +182,14 @@ 1.8 - - - - - - - - + + org.apache.maven.plugins + maven-jar-plugin + 2.3.1 + + C:\Users\Arte\Desktop\Server 1.14\plugins + + diff --git a/src/main/java/com/gamingmesh/jobs/Signs/SignUtil.java b/src/main/java/com/gamingmesh/jobs/Signs/SignUtil.java index c6b1bba1..35fae940 100644 --- a/src/main/java/com/gamingmesh/jobs/Signs/SignUtil.java +++ b/src/main/java/com/gamingmesh/jobs/Signs/SignUtil.java @@ -98,9 +98,9 @@ public class SignUtil { jobsSign newTemp = new jobsSign(); if (NameSection.isString("World")) { newTemp.setWorldName(NameSection.getString("World")); - newTemp.getLocation().setX((int) NameSection.getDouble("X")); - newTemp.getLocation().setY((int) NameSection.getDouble("Y")); - newTemp.getLocation().setZ((int) NameSection.getDouble("Z")); + newTemp.setX((int) NameSection.getDouble("X")); + newTemp.setY((int) NameSection.getDouble("Y")); + newTemp.setZ((int) NameSection.getDouble("Z")); } else { newTemp.setLoc(NameSection.getString("Loc")); } diff --git a/src/main/java/com/gamingmesh/jobs/Signs/jobsSign.java b/src/main/java/com/gamingmesh/jobs/Signs/jobsSign.java index 8f7e4bec..99edb663 100644 --- a/src/main/java/com/gamingmesh/jobs/Signs/jobsSign.java +++ b/src/main/java/com/gamingmesh/jobs/Signs/jobsSign.java @@ -36,6 +36,18 @@ public class jobsSign { return jobName; } + public void setX(int x) { + this.x = x; + } + + public void setY(int y) { + this.y = y; + } + + public void setZ(int z) { + this.z = z; + } + public void setWorldName(String World) { this.worldName = World; }