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

Removed debug code

This commit is contained in:
RePixelatedMC
2023-12-24 15:06:53 +01:00
parent f2370ad814
commit ef96fb9a0e
2 changed files with 2 additions and 5 deletions

View File

@@ -28,8 +28,6 @@ public class IrisEngineSVC implements IrisService {
private Looper unloadTicker;
public List<World> corruptedIrisWorlds = new ArrayList<>();
// todo make this work with multiple worlds
@Override
public void onEnable() {
tectonicLimit.set(2);
@@ -104,7 +102,7 @@ public class IrisEngineSVC implements IrisService {
long unloadStart = System.currentTimeMillis();
int count = engine.getMantle().unloadTectonicPlate(tectonicLimit.get());
if (count > 0) {
Iris.info(C.GOLD + "Unloaded " + C.YELLOW + count + " TectonicPlates in " + C.RED + Form.duration(System.currentTimeMillis() - unloadStart, 2));
Iris.debug(C.GOLD + "Unloaded " + C.YELLOW + count + " TectonicPlates in " + C.RED + Form.duration(System.currentTimeMillis() - unloadStart, 2));
}
}
} catch (Throwable e) {

View File

@@ -411,7 +411,6 @@ public class Mantle {
if (closed.get()) {
throw new RuntimeException("The Mantle is closed");
}
Iris.debug(C.BLUE + "TECTONIC TRIM HAS RUN");
adjustedIdleDuration.set(baseIdleDuration);
@@ -466,7 +465,7 @@ public class Mantle {
lastUse.remove(id);
toUnload.remove(id);
i.incrementAndGet();
Iris.info("Unloaded Tectonic Plate " + C.DARK_GREEN + Cache.keyX(id) + " " + Cache.keyZ(id));
Iris.debug("Unloaded Tectonic Plate " + C.DARK_GREEN + Cache.keyX(id) + " " + Cache.keyZ(id));
} catch (IOException e) {
e.printStackTrace();
}