mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-14 19:41:30 +01:00
Programatically increase max distance for GPS
This commit is contained in:
parent
c991599936
commit
6eb9cfa7bd
BIN
lib/GPSAPI.jar
BIN
lib/GPSAPI.jar
Binary file not shown.
@ -90,6 +90,7 @@ import com.gmail.nossr50.util.player.UserManager;
|
||||
import com.herocraftonline.heroes.Heroes;
|
||||
import com.herocraftonline.heroes.characters.Hero;
|
||||
import com.herocraftonline.heroes.characters.classes.HeroClass;
|
||||
import com.live.bemmamin.gps.Vars;
|
||||
import com.live.bemmamin.gps.api.GPSAPI;
|
||||
import com.sk89q.worldguard.bukkit.WorldGuardPlugin;
|
||||
import com.sk89q.worldguard.protection.managers.RegionManager;
|
||||
@ -458,6 +459,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
}
|
||||
if (isPluginReady("Parties")) {
|
||||
parties = Parties.getApi();
|
||||
Vars.getInstance().setMaxDistanceToEntry(9999.0);
|
||||
}
|
||||
if (isPluginReady("Vault")) {
|
||||
if (!setupEconomy()) {
|
||||
@ -696,7 +698,6 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
player.sendMessage(ChatColor.YELLOW + "/quests " + Lang.get(player, "COMMAND_TOP_HELP")
|
||||
.replace("<command>", translateSubCommands ? Lang.get(player, "COMMAND_TOP") : "top"));
|
||||
}
|
||||
// player.sendMessage(GOLD + "/quests party - Quest Party commands");
|
||||
if (player.hasPermission("quests.info")) {
|
||||
player.sendMessage(ChatColor.YELLOW + "/quests " + Lang.get(player, "COMMAND_INFO_HELP")
|
||||
.replace("<command>", translateSubCommands ? Lang.get(player, "COMMAND_INFO") : "info"));
|
||||
@ -711,17 +712,6 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
}
|
||||
}
|
||||
|
||||
public void printPartyHelp(Player player) {
|
||||
player.sendMessage(ChatColor.DARK_PURPLE + "- Quest Parties -");
|
||||
player.sendMessage(ChatColor.LIGHT_PURPLE + "/quests party create - Create new party");
|
||||
player.sendMessage(ChatColor.LIGHT_PURPLE + "/quests party leave - Leave your party");
|
||||
player.sendMessage(ChatColor.LIGHT_PURPLE + "/quests party info - Info about your party");
|
||||
player.sendMessage(ChatColor.DARK_PURPLE + "- (Leader only) -");
|
||||
player.sendMessage(ChatColor.LIGHT_PURPLE + "/quests party invite <player> - Invite a player to your party");
|
||||
player.sendMessage(ChatColor.LIGHT_PURPLE + "/quests party kick <player> - Kick a member from the party");
|
||||
player.sendMessage(ChatColor.LIGHT_PURPLE + "/quests party setleader <player> - Set a party member as the new leader");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCommand(final CommandSender cs, Command cmd, String label, String[] args) {
|
||||
if (cs instanceof Player) {
|
||||
|
@ -154,6 +154,4 @@ public class CK {
|
||||
public static final String E_COMMANDS = "evtCommands";
|
||||
public static final String E_TIMER = "evtTimer";
|
||||
public static final String E_CANCEL_TIMER = "evtCancelTimer";
|
||||
// Party
|
||||
//public static final String P_INVITER = "inviter";
|
||||
}
|
Loading…
Reference in New Issue
Block a user