mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
We need this...
This commit is contained in:
parent
91da45d6cf
commit
75d80d0582
16
pom.xml
16
pom.xml
@ -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>
|
||||
|
@ -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"));
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user