mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-24 03:25:20 +01:00
commit
67248f5692
@ -115,8 +115,9 @@ public class Dependencies {
|
||||
if (isPluginAvailable("mcMMO")) {
|
||||
mcmmo = (mcMMO) plugin.getServer().getPluginManager().getPlugin("mcMMO");
|
||||
}
|
||||
if (plugin.getSettings().canUseGPS() && isPluginAvailable("GPS")) {
|
||||
if (isPluginAvailable("GPS") && plugin.getSettings().canUseGPS()) {
|
||||
gpsapi = new GPSAPI(plugin);
|
||||
Vars.getInstance().setMaxDistanceToEntry(9999.0);
|
||||
}
|
||||
if (isPluginAvailable("Heroes")) {
|
||||
heroes = (Heroes) plugin.getServer().getPluginManager().getPlugin("Heroes");
|
||||
@ -132,7 +133,6 @@ public class Dependencies {
|
||||
}
|
||||
if (isPluginAvailable("Parties")) {
|
||||
parties = Parties.getApi();
|
||||
Vars.getInstance().setMaxDistanceToEntry(9999.0);
|
||||
}
|
||||
if (isPluginAvailable("Vault")) {
|
||||
if (!setupEconomy()) {
|
||||
|
Loading…
Reference in New Issue
Block a user