mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-08 19:51:05 +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