mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Re-introduce API changes
This commit is contained in:
1 parent
558006ad6a
commit
302ff0757a
2 files changed
+31
-20
No files matched your search
@@ -78,12 +78,13 @@ 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 new HuskHomesAPI();
|
||||
return HuskHomesAPI.getInstance();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user