mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 16:49:03 +00:00
Add close shop command
This commit is contained in:
@@ -102,6 +102,13 @@ public class BotHandler
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void closeShop(Client player){
|
||||
Client shop = getPlayerShop(player);
|
||||
if (shop == null) return;
|
||||
shop.disconnected = true;
|
||||
shop.logout(true);
|
||||
}
|
||||
|
||||
public static void addCoins(int shop_id, int amount){
|
||||
Client shop = getPlayerShop(shop_id);
|
||||
if (shop == null) return;
|
||||
|
||||
Reference in New Issue
Block a user