Fixes some HTTP dependencies
This commit is contained in:
@ -26,7 +26,7 @@ public final class DynmapCitizens extends JavaPlugin {
|
||||
|
||||
private static DynmapCitizens instance;
|
||||
private static Translator translator;
|
||||
private DynmapAPI dynmapAPI;
|
||||
private DynmapAPI dynmapAPIInstance;
|
||||
private VaultHandler vaultHandler;
|
||||
private GlobalSettings globalSettings;
|
||||
private List<CitizensTraitHandler> traitHandlers;
|
||||
@ -43,7 +43,7 @@ public final class DynmapCitizens extends JavaPlugin {
|
||||
this.onDisable();
|
||||
return;
|
||||
}
|
||||
this.dynmapAPI = dynmapAPI;
|
||||
this.dynmapAPIInstance = dynmapAPI;
|
||||
|
||||
this.globalSettings = new GlobalSettings();
|
||||
FileConfiguration configuration = this.getConfig();
|
||||
@ -113,7 +113,7 @@ public final class DynmapCitizens extends JavaPlugin {
|
||||
* @return <p>A reference to the Dynmap API</p>
|
||||
*/
|
||||
public DynmapAPI getDynmapAPI() {
|
||||
return this.dynmapAPI;
|
||||
return this.dynmapAPIInstance;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user