Add trade zones

This commit is contained in:
RedSparr0w committed 2019-11-23 14:32:16 +13:00
1 parent 2683ab888b
commit 2b93d72a15
6 files changed
+26 -2

No files matched your search

@@ -30,6 +30,12 @@ public class BotHandler
}
public static void playerShop(Client player){
// Must be in the correct zones
if (!player.inPlayerShopArea() && !player.inBankArea()) {
player.getActionSender().sendMessage("You need to be in a bank zone or trade area for this.");
return;
}
Client playerShop = getPlayerShop(player);
if (playerShop == null) {
@@ -182,5 +188,4 @@ public class BotHandler
}
}
}
}