mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 14:38:53 +00:00
Fix BlueMap hook not being registered on Fabric, close #453
This commit is contained in:
6 files changed
+19
-11
No files matched your search
@@ -39,8 +39,8 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.logging.Level;
|
||||
|
||||
/**
|
||||
@@ -58,8 +58,8 @@ public class BlueMapHook extends MapHook {
|
||||
@Override
|
||||
public void initialize() {
|
||||
BlueMapAPI.onEnable(api -> {
|
||||
this.publicHomesMarkerSets = new HashMap<>();
|
||||
this.warpsMarkerSets = new HashMap<>();
|
||||
this.publicHomesMarkerSets = new ConcurrentHashMap<>();
|
||||
this.warpsMarkerSets = new ConcurrentHashMap<>();
|
||||
|
||||
for (World world : plugin.getWorlds()) {
|
||||
this.editMapWorld(world, (mapWorld -> {
|
||||
|
||||
Reference in new issue
Block a user