Compare commits

...

2 commits
Ali ... master

Author SHA1 Message Date
Norbi Peti 75c7b605b4 Fixed plugin.yml inclusion 2016-10-23 12:44:39 +02:00
BuildTools 9a2787b8c5 divide zAverage by 2 2016-10-23 00:19:30 -04:00
2 changed files with 10 additions and 7 deletions

15
pom.xml
View file

@ -8,13 +8,16 @@
<resources>
<resource>
<directory>src</directory>
<includes>
<include>*.yml</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</excludes>
</resource>
<resource>
<directory>.</directory>
<includes>
<include>*.yml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
@ -51,4 +54,4 @@
<version>1.9.2-R0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
</project>

View file

@ -34,7 +34,7 @@ public class RandomTPModule{
//INIT - zDifference, zAverage
int zdifference = minLocation.getBlockX() - maxLocation.getBlockY();
int zAverage = (int) Math.floor(minLocation.getBlockZ() + maxLocation.getBlockZ());
int zAverage = (int) Math.floor(minLocation.getBlockZ() + maxLocation.getBlockZ() / 2);
//CHECK - Reset Cycle
if (!(northUsed || southUsed || eastUsed || westUsed)){