mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +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
@@ -20,7 +20,7 @@ import java.util.logging.Level;
|
||||
/**
|
||||
* Hooks into Plan to provide the {@link PlanDataExtension} with stats on the web panel
|
||||
*/
|
||||
public class PlanHook extends PluginHook {
|
||||
public class PlanHook extends Hook {
|
||||
|
||||
private final HuskHomes plugin;
|
||||
|
||||
@@ -30,13 +30,12 @@ public class PlanHook extends PluginHook {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean initialize() {
|
||||
public void initialize() {
|
||||
if (!areAllCapabilitiesAvailable()) {
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
registerDataExtension();
|
||||
handlePlanReload();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user