mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-24 19:46:21 +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 (flags.getBooleanFlag(FlagType.BUYABLE).getValue(false)) {
|
||||||
if (args.length == 2) {
|
if (args.length == 2) {
|
||||||
if (args[1] == "info") {
|
if (args[1].equalsIgnoreCase("info")) {
|
||||||
player.sendMessage(ChatColor.YELLOW + "Region " + id + " costs " +
|
player.sendMessage(ChatColor.YELLOW + "Region " + id + " costs " +
|
||||||
iConomy.getBank().format(flags.getDoubleFlag(FlagType.PRICE).getValue()));
|
iConomy.getBank().format(flags.getDoubleFlag(FlagType.PRICE).getValue()));
|
||||||
if (iConomy.getBank().hasAccount(player.getName())) {
|
if (iConomy.getBank().hasAccount(player.getName())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user