Add ability to resolve unsafe positions by UUID where the identifier would otherwise be unsafe (#356)

This commit is contained in:
William authored and GitHub committed 2023-04-16 16:48:08 +01:00
1 parent 4bd0244891
commit 3c18214016
26 files changed
+188 -60

No files matched your search

@@ -90,7 +90,7 @@ public class BlueMapHook extends MapHook {
final String markerId = home.getOwner().getUuid() + ":" + home.getUuid();
markerSet.remove(markerId);
markerSet.put(markerId, POIMarker.builder()
.label("/phome " + home.getOwner().getUsername() + "." + home.getName())
.label("/phome " + home.getIdentifier())
.position(home.getX(), home.getY(), home.getZ())
.maxDistance(5000)
.icon(getIcon(PUBLIC_HOME_MARKER_IMAGE_NAME), 25, 25)