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>
<repository> <repository>
<id>citizens-repo</id> <id>citizens-repo</id>
<url>http://repo.citizensnpcs.co/</url> <url>https://repo.citizensnpcs.co/</url>
</repository> </repository>
<repository> <repository>
<id>vault-repo</id> <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> </repository>
</repositories> </repositories>

View File

@ -26,7 +26,7 @@ public final class DynmapCitizens extends JavaPlugin {
private static DynmapCitizens instance; private static DynmapCitizens instance;
private static Translator translator; private static Translator translator;
private DynmapAPI dynmapAPI; private DynmapAPI dynmapAPIInstance;
private VaultHandler vaultHandler; private VaultHandler vaultHandler;
private GlobalSettings globalSettings; private GlobalSettings globalSettings;
private List<CitizensTraitHandler> traitHandlers; private List<CitizensTraitHandler> traitHandlers;
@ -43,7 +43,7 @@ public final class DynmapCitizens extends JavaPlugin {
this.onDisable(); this.onDisable();
return; return;
} }
this.dynmapAPI = dynmapAPI; this.dynmapAPIInstance = dynmapAPI;
this.globalSettings = new GlobalSettings(); this.globalSettings = new GlobalSettings();
FileConfiguration configuration = this.getConfig(); FileConfiguration configuration = this.getConfig();
@ -113,7 +113,7 @@ public final class DynmapCitizens extends JavaPlugin {
* @return <p>A reference to the Dynmap API</p> * @return <p>A reference to the Dynmap API</p>
*/ */
public DynmapAPI getDynmapAPI() { public DynmapAPI getDynmapAPI() {
return this.dynmapAPI; return this.dynmapAPIInstance;
} }
/** /**