From 9a2787b8c5be6c7822ef1c77dfdf025b305dda54 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 23 Oct 2016 00:19:30 -0400 Subject: [PATCH] divide zAverage by 2 --- src/alisolarflare/RandomTPModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alisolarflare/RandomTPModule.java b/src/alisolarflare/RandomTPModule.java index b5a2306..feea64e 100644 --- a/src/alisolarflare/RandomTPModule.java +++ b/src/alisolarflare/RandomTPModule.java @@ -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)){