Rework BlueMap claiming and expand ranks guilds chat and warps
This commit is contained in:
1 parent
434ed5338a
commit
6a2944a88e
68 files changed
+1453
-2500
No files matched your search
@@ -144,13 +144,10 @@ public final class Integration implements AutoCloseable {
|
||||
this.notificationHandler = handler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start mirroring this server's world and player positions to the panel's
|
||||
* central live map. {@code worldRoot} is the level folder (e.g. {@code world}).
|
||||
*/
|
||||
public void enableLiveMap(java.nio.file.Path worldRoot) {
|
||||
/** Start sending player positions for the in-app BlueMap territory view. */
|
||||
public void enableLiveMap() {
|
||||
if (closed || liveMap != null) return;
|
||||
liveMap = new LiveMapSync(client, worldRoot, log);
|
||||
liveMap = new LiveMapSync(client);
|
||||
liveMap.start();
|
||||
}
|
||||
|
||||
@@ -160,12 +157,6 @@ public final class Integration implements AutoCloseable {
|
||||
if (map != null) map.offerPlayers(players);
|
||||
}
|
||||
|
||||
/** The world was just saved: pick up its changed chunks soon. */
|
||||
public void liveMapSaved() {
|
||||
LiveMapSync map = liveMap;
|
||||
if (map != null) map.requestScan();
|
||||
}
|
||||
|
||||
public ChunkCheckResult checkChunk(String dimension, int chunkX, int chunkZ, UUID uuid) {
|
||||
return client.checkChunk(dimension, chunkX, chunkZ, uuid);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user