Updated /buyregion command

This commit is contained in:
DarkLiKally 2011-03-02 15:57:37 +01:00
parent 7b725d655c
commit 50ca9d129b

View File

@ -62,7 +62,7 @@ public boolean handle(CommandSender sender, String senderName, String command, S
if (flags.getBooleanFlag(FlagType.BUYABLE).getValue(false)) {
if (args.length == 2) {
if (args[1] == "info") {
if (args[1].equalsIgnoreCase("info")) {
player.sendMessage(ChatColor.YELLOW + "Region " + id + " costs " +
iConomy.getBank().format(flags.getDoubleFlag(FlagType.PRICE).getValue()));
if (iConomy.getBank().hasAccount(player.getName())) {