Fix bank packet exploit + fishing guild banking (#300)

This commit is contained in:
Daniel Ginovker authored and GitHub committed 2019-12-17 15:11:59 -05:00
1 parent 0653db8ad1
commit 223c3194a8
8 files changed
+12 -1

No files matched your search

@@ -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;
}