Fixes some HTTP dependencies
This commit is contained in:
parent
c33520d8f2
commit
ab9cdad215
4
pom.xml
4
pom.xml
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user