Skip to content

Commit 6193ae7

Browse files
committed
Don't fill up debug logger pool with garbage
1 parent e4eece4 commit 6193ae7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/maxgamer/quickshop/watcher/DisplayAutoDespawnWatcher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ public boolean removeDisplayItemDelayed(Shop shop) {
8989
if (shop.getDisplay() != null) {
9090
if (shop.getDisplay().isPendingRemoval()) {
9191
// Actually remove the pending display
92-
Util.debugLog("Removing the shop " + shop + " the display, cause nobody can see it");
92+
//Util.debugLog("Removing the shop " + shop + " the display, cause nobody can see it");
9393
Util.mainThreadRun(() -> shop.getDisplay().remove());
9494
return true;
9595
} else {
9696
// Delayed to next calling
97-
Util.debugLog("Pending to remove the shop " + shop + " the display, cause nobody can see it");
97+
//Util.debugLog("Pending to remove the shop " + shop + " the display, cause nobody can see it");
9898
shop.getDisplay().pendingRemoval();
9999
return false;
100100
}

0 commit comments

Comments
 (0)