9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 12:09:07 +00:00

back to debug

This commit is contained in:
RePixelatedMC
2023-11-29 10:47:45 +01:00
parent 1044f901bd
commit 205d9d528e

View File

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