mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-02-21 06:41:36 +01:00
added message if player has not enough money for the region
This commit is contained in:
parent
50ca9d129b
commit
44b5e5548d
@ -90,6 +90,8 @@ public boolean handle(CommandSender sender, String senderName, String command, S
|
||||
region.setOwners(owners);
|
||||
flags.getBooleanFlag(FlagType.BUYABLE).setValue(false);
|
||||
account.save();
|
||||
} else {
|
||||
player.sendMessage(ChatColor.YELLOW + "You have not enough money.");
|
||||
}
|
||||
} else {
|
||||
player.sendMessage(ChatColor.YELLOW + "You have not enough money.");
|
||||
|
Loading…
Reference in New Issue
Block a user