mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Removed debug code
This commit is contained in:
@@ -28,8 +28,6 @@ public class IrisEngineSVC implements IrisService {
|
|||||||
private Looper unloadTicker;
|
private Looper unloadTicker;
|
||||||
public List<World> corruptedIrisWorlds = new ArrayList<>();
|
public List<World> corruptedIrisWorlds = new ArrayList<>();
|
||||||
|
|
||||||
// todo make this work with multiple worlds
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
tectonicLimit.set(2);
|
tectonicLimit.set(2);
|
||||||
@@ -104,7 +102,7 @@ public class IrisEngineSVC implements IrisService {
|
|||||||
long unloadStart = System.currentTimeMillis();
|
long unloadStart = System.currentTimeMillis();
|
||||||
int count = engine.getMantle().unloadTectonicPlate(tectonicLimit.get());
|
int count = engine.getMantle().unloadTectonicPlate(tectonicLimit.get());
|
||||||
if (count > 0) {
|
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) {
|
} catch (Throwable e) {
|
||||||
|
|||||||
@@ -411,7 +411,6 @@ public class Mantle {
|
|||||||
if (closed.get()) {
|
if (closed.get()) {
|
||||||
throw new RuntimeException("The Mantle is closed");
|
throw new RuntimeException("The Mantle is closed");
|
||||||
}
|
}
|
||||||
Iris.debug(C.BLUE + "TECTONIC TRIM HAS RUN");
|
|
||||||
|
|
||||||
adjustedIdleDuration.set(baseIdleDuration);
|
adjustedIdleDuration.set(baseIdleDuration);
|
||||||
|
|
||||||
@@ -466,7 +465,7 @@ public class Mantle {
|
|||||||
lastUse.remove(id);
|
lastUse.remove(id);
|
||||||
toUnload.remove(id);
|
toUnload.remove(id);
|
||||||
i.incrementAndGet();
|
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) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user