We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0722ae3 commit 338a81fCopy full SHA for 338a81f
src/main/java/org/maxgamer/quickshop/watcher/DisplayWatcher.java
@@ -45,6 +45,10 @@ private void registerTask() {
45
plugin.getLogger().severe("Shop.display-items-check-ticks is too low! It may cause HUGE lag! Pick a number > 3000");
46
}
47
for (Shop shop : plugin.getShopManager().getLoadedShops()) {
48
+ //Shop may be deleted or unloaded when iterating
49
+ if (shop.isDeleted() || !shop.isLoaded()) {
50
+ continue;
51
+ }
52
shop.checkDisplay();
53
54
}, 1L, plugin.getDisplayItemCheckTicks());
0 commit comments