mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
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:
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 + "]");
|
||||
|
||||
Reference in New Issue
Block a user