Skip to content

Commit

Permalink
Fix outline offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
Citymonstret committed Dec 25, 2018
1 parent 52a731d commit 85a5ab4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/main/java/com/empcraft/plot2dynmap/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,14 @@ private void handlePlot(final World world, final PlotWrapper plot,
z = new double[4];
x[0] = region.minX;
z[0] = region.minZ;

x[1] = region.minX;
z[1] = region.maxZ;
x[2] = region.maxX;
z[2] = region.maxZ;
x[3] = region.maxX;
z[1] = region.maxZ + 1;

x[2] = region.maxX + 1;
z[2] = region.maxZ + 1;

x[3] = region.maxX + 1;
z[3] = region.minZ;

final String markerid = world.getName() + "_" + name + (i == 0 ? "" : "-" + i);
Expand Down

0 comments on commit 85a5ab4

Please sign in to comment.