Fix ConcurrentModificationException on disable

This commit is contained in:
Eric 2017-07-30 14:09:16 +02:00
parent 787426218b
commit c230257676

View File

@ -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() + ")");
}