Fixes some HTTP dependencies

This commit is contained in:
Kristian Knarvik 2022-11-14 02:07:31 +01:00
parent c33520d8f2
commit ab9cdad215
2 changed files with 5 additions and 5 deletions

View File

@ -86,11 +86,11 @@
</repository>
<repository>
<id>citizens-repo</id>
<url>http://repo.citizensnpcs.co/</url>
<url>https://repo.citizensnpcs.co/</url>
</repository>
<repository>
<id>vault-repo</id>
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
<url>https://nexus.hc.to/content/repositories/pub_releases</url>
</repository>
</repositories>

View File

@ -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;
}
/**