mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-01-06 15:51:30 +00:00
back to debug
This commit is contained in:
@@ -470,7 +470,7 @@ public class Mantle {
|
|||||||
if (M.ms() - lastUse.get(i) >= finalAdjustedIdleDuration) {
|
if (M.ms() - lastUse.get(i) >= finalAdjustedIdleDuration) {
|
||||||
toUnload.add(i);
|
toUnload.add(i);
|
||||||
fakeToUnload.addAndGet(1);
|
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, () -> {
|
hyperLock.withLong(finalOldestKey, () -> {
|
||||||
toUnload.add(finalOldestKey);
|
toUnload.add(finalOldestKey);
|
||||||
fakeToUnload.addAndGet(1);
|
fakeToUnload.addAndGet(1);
|
||||||
Iris.info("Oldest Tectonic Region " + finalOldestKey + " added to unload");
|
Iris.debug("Oldest Tectonic Region " + finalOldestKey + " added to unload");
|
||||||
|
|
||||||
loadedRegions.remove(finalOldestKey);
|
loadedRegions.remove(finalOldestKey);
|
||||||
lastUse.remove(finalOldestKey);
|
lastUse.remove(finalOldestKey);
|
||||||
@@ -516,7 +516,7 @@ public class Mantle {
|
|||||||
m.write(fileForRegion(dataFolder, i));
|
m.write(fileForRegion(dataFolder, i));
|
||||||
loadedRegions.remove(i);
|
loadedRegions.remove(i);
|
||||||
lastUse.remove(i);
|
lastUse.remove(i);
|
||||||
fakeToUnload.getAndAdd(-1);
|
fakeToUnload.getAndDecrement();
|
||||||
Iris.debug("Unloaded Tectonic Plate " + C.DARK_GREEN + Cache.keyX(i) + " " + Cache.keyZ(i));
|
Iris.debug("Unloaded Tectonic Plate " + C.DARK_GREEN + Cache.keyX(i) + " " + Cache.keyZ(i));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user