mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 02:27:42 +01:00
Updated /buyregion command
This commit is contained in:
parent
7b725d655c
commit
50ca9d129b
@ -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())) {
|
||||
|
Loading…
Reference in New Issue
Block a user