mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-10-01 02:17:17 +00:00
update close shop method
This commit is contained in:
@@ -107,6 +107,13 @@ public class BotHandler
|
||||
if (shop == null) return;
|
||||
shop.disconnected = true;
|
||||
shop.logout(true);
|
||||
for (int index = 0; index < botList.size(); index++){
|
||||
if (botList.get(index).getBotClient().properName.equalsIgnoreCase(player.properName)) {
|
||||
botList.remove(index);
|
||||
return;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
||||
public static void addCoins(int shop_id, int amount){
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user