added message if player has not enough money for the region

This commit is contained in:
DarkLiKally 2011-03-02 16:28:01 +01:00
parent 50ca9d129b
commit 44b5e5548d

View File

@ -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.");