mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Further tweaks to map hook refactoring
This commit is contained in:
1 parent
98fa779046
commit
4e798a42e8
13 files changed
+50
-24
No files matched your search
@@ -36,8 +36,8 @@ public class BlueMapHook extends MapHook {
|
||||
|
||||
for (World world : plugin.getWorlds()) {
|
||||
getMapWorld(world).ifPresent(mapWorld -> {
|
||||
final MarkerSet publicHomeMarkers = MarkerSet.builder().label("Public Homes").build();
|
||||
final MarkerSet warpsMarkers = MarkerSet.builder().label("Warps").build();
|
||||
final MarkerSet publicHomeMarkers = MarkerSet.builder().label(getPublicHomesMarkerSetName()).build();
|
||||
final MarkerSet warpsMarkers = MarkerSet.builder().label(getWarpsMarkerSetName()).build();
|
||||
|
||||
for (BlueMapMap map : mapWorld.getMaps()) {
|
||||
map.getMarkerSets().put(plugin.getKey(map.getId()).toString(), publicHomeMarkers);
|
||||
|
||||
Reference in new issue
Block a user