Explorer Map API

This commit is contained in:
William Blake Galbreath
2025-01-12 17:44:42 -08:00
committed by granny
parent 48b276623c
commit e8d65f8764
6 changed files with 48 additions and 68 deletions

View File

@@ -0,0 +1,13 @@
--- a/src/main/java/org/bukkit/craftbukkit/map/CraftMapRenderer.java
+++ b/src/main/java/org/bukkit/craftbukkit/map/CraftMapRenderer.java
@@ -49,4 +_,10 @@
}
}
+ // Purpur start - Explorer Map API
+ @Override
+ public boolean isExplorerMap() {
+ return this.worldMap.isExplorerMap;
+ }
+ // Purpur end - Explorer Map API
}