divide zAverage by 2
This commit is contained in:
parent
b6a8bc709b
commit
9a2787b8c5
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ public class RandomTPModule{
|
||||||
|
|
||||||
//INIT - zDifference, zAverage
|
//INIT - zDifference, zAverage
|
||||||
int zdifference = minLocation.getBlockX() - maxLocation.getBlockY();
|
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
|
//CHECK - Reset Cycle
|
||||||
if (!(northUsed || southUsed || eastUsed || westUsed)){
|
if (!(northUsed || southUsed || eastUsed || westUsed)){
|
||||||
|
|
Loading…
Reference in a new issue