From 205d9d528e0af0c39f0cd59cdfe4d9e72a15b1b0 Mon Sep 17 00:00:00 2001 From: RePixelatedMC Date: Wed, 29 Nov 2023 10:47:45 +0100 Subject: [PATCH] back to debug --- core/src/main/java/com/volmit/iris/util/mantle/Mantle.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/volmit/iris/util/mantle/Mantle.java b/core/src/main/java/com/volmit/iris/util/mantle/Mantle.java index ec68e7820..3088361c0 100644 --- a/core/src/main/java/com/volmit/iris/util/mantle/Mantle.java +++ b/core/src/main/java/com/volmit/iris/util/mantle/Mantle.java @@ -470,7 +470,7 @@ public class Mantle { if (M.ms() - lastUse.get(i) >= finalAdjustedIdleDuration) { toUnload.add(i); fakeToUnload.addAndGet(1); - Iris.info("Tectonic Region added to unload"); + Iris.debug("Tectonic Region added to unload"); } }); } @@ -495,7 +495,7 @@ public class Mantle { hyperLock.withLong(finalOldestKey, () -> { toUnload.add(finalOldestKey); fakeToUnload.addAndGet(1); - Iris.info("Oldest Tectonic Region " + finalOldestKey + " added to unload"); + Iris.debug("Oldest Tectonic Region " + finalOldestKey + " added to unload"); loadedRegions.remove(finalOldestKey); lastUse.remove(finalOldestKey); @@ -516,7 +516,7 @@ public class Mantle { m.write(fileForRegion(dataFolder, i)); loadedRegions.remove(i); lastUse.remove(i); - fakeToUnload.getAndAdd(-1); + fakeToUnload.getAndDecrement(); Iris.debug("Unloaded Tectonic Plate " + C.DARK_GREEN + Cache.keyX(i) + " " + Cache.keyZ(i)); } catch (IOException e) { e.printStackTrace();