1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 05:55:27 +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> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<!-- <plugin> --> <plugin>
<!-- <groupId>org.apache.maven.plugins</groupId> --> <groupId>org.apache.maven.plugins</groupId>
<!-- <artifactId>maven-jar-plugin</artifactId> --> <artifactId>maven-jar-plugin</artifactId>
<!-- <version>2.3.1</version> --> <version>2.3.1</version>
<!-- <configuration> --> <configuration>
<!-- <outputDirectory>C:\Users\Arte\Desktop\Server 1.14\plugins</outputDirectory> --> <outputDirectory>C:\Users\Arte\Desktop\Server 1.14\plugins</outputDirectory>
<!-- </configuration> --> </configuration>
<!-- </plugin> --> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -98,9 +98,9 @@ public class SignUtil {
jobsSign newTemp = new jobsSign(); jobsSign newTemp = new jobsSign();
if (NameSection.isString("World")) { if (NameSection.isString("World")) {
newTemp.setWorldName(NameSection.getString("World")); newTemp.setWorldName(NameSection.getString("World"));
newTemp.getLocation().setX((int) NameSection.getDouble("X")); newTemp.setX((int) NameSection.getDouble("X"));
newTemp.getLocation().setY((int) NameSection.getDouble("Y")); newTemp.setY((int) NameSection.getDouble("Y"));
newTemp.getLocation().setZ((int) NameSection.getDouble("Z")); newTemp.setZ((int) NameSection.getDouble("Z"));
} else { } else {
newTemp.setLoc(NameSection.getString("Loc")); newTemp.setLoc(NameSection.getString("Loc"));
} }

View File

@ -36,6 +36,18 @@ public class jobsSign {
return jobName; 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) { public void setWorldName(String World) {
this.worldName = World; this.worldName = World;
} }