mirror of
https://github.com/EpicEricEE/ShopChest.git
synced 2024-11-08 11:50:14 +01:00
Remove API method to remove shop by ID
This commit is contained in:
parent
50b69f6445
commit
92fdd21ac9
@ -111,16 +111,6 @@ public interface ShopManager {
|
||||
*/
|
||||
void removeShop(Shop shop, Consumer<Void> callback, Consumer<Throwable> errorCallback);
|
||||
|
||||
/**
|
||||
* Removes a shop from the database by its ID
|
||||
*
|
||||
* @param shopId the id of the shop to remove
|
||||
* @param callback the callback returning nothing on success
|
||||
* @param errorCallback the callback returning the error if one occurred
|
||||
* @since 1.13
|
||||
*/
|
||||
void removeShop(int shopId, Consumer<Void> callback, Consumer<Throwable> errorCallback);
|
||||
|
||||
/**
|
||||
* Asynchronously reloads all shops from the database
|
||||
* <p>
|
||||
|
Loading…
Reference in New Issue
Block a user