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