1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 12:05:16 +01:00

We need this...

This commit is contained in:
Zrips 2019-08-14 15:25:31 +03:00
parent 91da45d6cf
commit 75d80d0582
3 changed files with 23 additions and 11 deletions

16
pom.xml
View File

@ -182,14 +182,14 @@
<target>1.8</target>
</configuration>
</plugin>
<!-- <plugin> -->
<!-- <groupId>org.apache.maven.plugins</groupId> -->
<!-- <artifactId>maven-jar-plugin</artifactId> -->
<!-- <version>2.3.1</version> -->
<!-- <configuration> -->
<!-- <outputDirectory>C:\Users\Arte\Desktop\Server 1.14\plugins</outputDirectory> -->
<!-- </configuration> -->
<!-- </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<outputDirectory>C:\Users\Arte\Desktop\Server 1.14\plugins</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -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"));
}

View File

@ -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;
}