mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Rollback API changes, adjust method of obtaining API
This commit is contained in:
1 parent
302ff0757a
commit
49ea2237c7
2 files changed
+13
-23
No files matched your search
@@ -78,13 +78,12 @@ public final class HuskHomes extends JavaPlugin {
|
||||
public static PlayerList getPlayerList() { return playerList; }
|
||||
|
||||
/**
|
||||
* @deprecated Use HuskHomesAPI#getInstance() instead
|
||||
* Returns the HuskHomes API
|
||||
* @return an instance of the HuskHomes API
|
||||
* @see HuskHomesAPI
|
||||
*/
|
||||
public HuskHomesAPI getAPI() {
|
||||
return HuskHomesAPI.getInstance();
|
||||
return new HuskHomesAPI();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user