mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 08:39:05 +00:00
Fix bank packet exploit + fishing guild banking (#300)
This commit is contained in:
@@ -344,6 +344,11 @@ public class ShopAssistant {
|
||||
player.getPacketSender().sendMessage("Selling items as an admin has been disabled.");
|
||||
return false;
|
||||
}
|
||||
if (!player.inPlayerShopArea()) //Packet abuse!
|
||||
{
|
||||
player.getPacketSender().sendMessage("You're not in a shopping area! Enter one to sell items & manage your store.");
|
||||
return false;
|
||||
}
|
||||
if(!player.isShopping) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user