mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Rewrite map hooks, use more modern APIs
This commit is contained in:
1 parent
167d5d6c7a
commit
98fa779046
15 files changed
+457
-463
No files matched your search
@@ -249,7 +249,7 @@ public class Settings {
|
||||
private boolean doMapHook = false;
|
||||
|
||||
@YamlKey("map_hook.map_plugin")
|
||||
private MapHook.MappingPlugin mappingPlugin = MapHook.MappingPlugin.DYNMAP;
|
||||
private MapHook.Plugin type = MapHook.Plugin.DYNMAP;
|
||||
|
||||
@YamlKey("map_hook.show_public_homes")
|
||||
private boolean publicHomesOnMap = true;
|
||||
@@ -479,8 +479,8 @@ public class Settings {
|
||||
return doMapHook;
|
||||
}
|
||||
|
||||
public MapHook.MappingPlugin getMappingPlugin() {
|
||||
return mappingPlugin;
|
||||
public MapHook.Plugin getMappingPlugin() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public boolean isPublicHomesOnMap() {
|
||||
|
||||
Reference in new issue
Block a user