TownyAdvanced / MapTowny

A Towny add-on Bukkit plugin that enables towns to show up on a web-map.
MIT License
15 stars 17 forks source link

Marker is not a chunk. #14

Closed Naphho closed 2 years ago

Naphho commented 2 years ago

Describe the Bug

The marker is 15*15 blocks not a chunk. bug

Expected Behavior

The marker should be the red square which is a chunk.

Plugin Version

1.0.0 with default config.

Towny Version

0.97.3.0 with default config.

Pl3xMap Version

1.0.0-BETA-162. with default config.

Server Software Version

Paper 1.17.1.

Additional Comments

Naphho commented 2 years ago

Anyway, I fixed it!

silverwolfg11 commented 2 years ago

Oh, sorry for the late response, I've been busy recently. Glad you fixed it! If you're up to it, you can always make a pull-request with the fix. If not, I'll look into it when I time.

silverwolfg11 commented 2 years ago

I tried to reproduce the issue but the marker size seems correct to me.

Steps for reproduction:

Doing that produced these results on the Pl3xMap: image image

Using https://dinnerbone.com/minecraft/tools/coordinates/ and plugging in the previously mentioned X and Z coords for the chunk you'll see that the tool says "This chunk section contains blocks 96,0,-224 to 111,15,-209". The coordinates are a bit mis-matched, but they still represent the correct borders of the chunk indicating that the marker is the correct size.

silverwolfg11 commented 2 years ago

As mentioned above, I could not reproduce the issue, nor was there follow up from the original author of this issue, so I will close the issue for the meantime.