mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Revert API refactoring changes
This commit is contained in:
1 parent
c0f3c7a6f5
commit
4e5f71f1a0
2 files changed
+15
-14
No files matched your search
@@ -77,7 +77,6 @@ public final class HuskHomes extends JavaPlugin {
|
||||
private static PlayerList playerList;
|
||||
public static PlayerList getPlayerList() { return playerList; }
|
||||
|
||||
|
||||
/**
|
||||
* Returns the HuskHomes API
|
||||
* @return an instance of the HuskHomes API
|
||||
@@ -87,6 +86,7 @@ public final class HuskHomes extends JavaPlugin {
|
||||
return new HuskHomesAPI();
|
||||
}
|
||||
|
||||
|
||||
public static void disablePlugin(String reason) {
|
||||
instance.getLogger().severe("Disabling HuskHomes plugin because:\n" + reason);
|
||||
Bukkit.getPluginManager().disablePlugin(instance);
|
||||
|
||||
Reference in new issue
Block a user