mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +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
+1
-1
@@ -28,7 +28,7 @@ dependencies {
|
||||
compileOnly 'org.jetbrains:annotations:24.0.1'
|
||||
compileOnly 'com.google.guava:guava:32.1.1-jre'
|
||||
compileOnly 'com.github.plan-player-analytics:Plan:5.5.2391'
|
||||
compileOnly 'com.github.BlueMap-Minecraft:BlueMapAPI:2.5.0'
|
||||
compileOnly 'com.github.BlueMap-Minecraft:BlueMapAPI:2.6.0'
|
||||
compileOnly 'us.dynmap:DynmapCoreAPI:3.4'
|
||||
compileOnly 'maven.modrinth:pl3xmap:1.19.4-433'
|
||||
|
||||
|
||||
@@ -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