Mobile banking (#30)

* Fixed an issue with sheep regrowth, the id hadn't been completely migrated resulting in a one time sheep shear fiasco! My bad!

* Fixed admin command ::bank.
This commit is contained in:
Ben Maher
2019-10-07 02:40:14 +01:00
committed by Daniel Ginovker
parent 29f5d14f46
commit 5a87a47262
@@ -1432,7 +1432,7 @@ public class PlayerAssistant {
return;
}
if (!player.inBankArea())
if (!player.inBankArea() && player.playerRights < 3)
{
player.getActionSender().sendMessage("You can't open a bank unless you're in a bank area!");
player.getActionSender().sendMessage("If this is a bug, please report it! Your coords are [" + player.absX + "," + player.absY + "]");