Skip to content

Commit 85a5ab4

Browse files
committed
Fix outline offsets
1 parent 52a731d commit 85a5ab4

File tree

1 file changed

+7
-4
lines changed
  • src/main/java/com/empcraft/plot2dynmap

1 file changed

+7
-4
lines changed

src/main/java/com/empcraft/plot2dynmap/Main.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,14 @@ private void handlePlot(final World world, final PlotWrapper plot,
146146
z = new double[4];
147147
x[0] = region.minX;
148148
z[0] = region.minZ;
149+
149150
x[1] = region.minX;
150-
z[1] = region.maxZ;
151-
x[2] = region.maxX;
152-
z[2] = region.maxZ;
153-
x[3] = region.maxX;
151+
z[1] = region.maxZ + 1;
152+
153+
x[2] = region.maxX + 1;
154+
z[2] = region.maxZ + 1;
155+
156+
x[3] = region.maxX + 1;
154157
z[3] = region.minZ;
155158

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

0 commit comments

Comments
 (0)