Semi functional player shops
This commit is contained in:
1 parent
3afb44615e
commit
ca12809861
17 files changed
+213
-331
No files matched your search
@@ -66,4 +66,16 @@ public class BotHandler
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void addTobank(int shop, int item, int itemN){
|
||||
for(Bot bot : botList) {
|
||||
if(bot != null && bot.getBotClient() != null) {
|
||||
Client botClient = bot.getBotClient();
|
||||
if(botClient.myShopId == shop) {
|
||||
botClient.getItemAssistant().addItemToBank(item, itemN);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user