mirror of
https://github.com/EpicEricEE/ShopChest.git
synced 2024-11-08 11:50:14 +01: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