divide zAverage by 2

This commit is contained in:
BuildTools 2016-10-23 00:19:30 -04:00
parent b6a8bc709b
commit 9a2787b8c5

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)){