Skip to content

Commit

Permalink
Probably fix cuboid outline maybe
Browse files Browse the repository at this point in the history
potentially
  • Loading branch information
mcmonkey4eva committed Dec 6, 2016
1 parent fd5543b commit 95cbc46
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -333,7 +333,7 @@ public dList getOutline() {
int z_distance = pair.z_distance;
int x_distance = pair.x_distance;

for (int y = loc_1.getBlockY(); y <= loc_1.getBlockY() + y_distance; y++) {
for (int y = loc_1.getBlockY(); y < loc_1.getBlockY() + y_distance; y++) {
list.add(new dLocation(loc_1.getWorld(),
loc_1.getBlockX(),
y,
Expand All @@ -359,7 +359,7 @@ public dList getOutline() {
}
}

for (int x = loc_1.getBlockX(); x <= loc_1.getBlockX() + x_distance; x++) {
for (int x = loc_1.getBlockX(); x < loc_1.getBlockX() + x_distance; x++) {
list.add(new dLocation(loc_1.getWorld(),
x,
loc_1.getBlockY(),
Expand All @@ -385,7 +385,7 @@ public dList getOutline() {
}
}

for (int z = loc_1.getBlockZ(); z <= loc_1.getBlockZ() + z_distance; z++) {
for (int z = loc_1.getBlockZ(); z < loc_1.getBlockZ() + z_distance; z++) {
list.add(new dLocation(loc_1.getWorld(),
loc_1.getBlockX(),
loc_1.getBlockY(),
Expand Down

0 comments on commit 95cbc46

Please sign in to comment.