mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-12-23 01:21:47 +00:00
Fix ConcurrentModificationException on disable
This commit is contained in:
parent
787426218b
commit
c230257676
@ -205,7 +205,8 @@ public class ShopChest extends JavaPlugin {
|
||||
|
||||
if (database != null) {
|
||||
for (Shop shop : shopUtils.getShops()) {
|
||||
shopUtils.removeShop(shop, false);
|
||||
shop.removeHologram();
|
||||
shop.removeItem();
|
||||
debug("Removed shop (#" + shop.getID() + ")");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user