mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Add ability to resolve unsafe positions by UUID where the identifier would otherwise be unsafe (#356)
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user