diff --git a/src/java/cr0s/warpdrive/data/CamRegistry.java b/src/java/cr0s/warpdrive/data/CamRegistry.java index c7b5f454..5bb75744 100644 --- a/src/java/cr0s/warpdrive/data/CamRegistry.java +++ b/src/java/cr0s/warpdrive/data/CamRegistry.java @@ -117,10 +117,10 @@ public class CamRegistry { } public void printRegistry(World worldObj) { - WarpDrive.print("Cameras registry for dimension " + worldObj.provider.dimensionId + ":"); + WarpDrive.logger.info("Cameras registry for dimension " + worldObj.provider.dimensionId + ":"); for (CamRegistryItem cam : registry) { - WarpDrive.print("- " + cam.frequency + " (" + cam.position.chunkPosX + ", " + cam.position.chunkPosY + ", " + cam.position.chunkPosZ + ")"); + WarpDrive.logger.info("- " + cam.frequency + " (" + cam.position.chunkPosX + ", " + cam.position.chunkPosY + ", " + cam.position.chunkPosZ + ")"); } } } diff --git a/src/java/cr0s/warpdrive/data/JumpgatesRegistry.java b/src/java/cr0s/warpdrive/data/JumpgatesRegistry.java index e313cc69..411fdff9 100644 --- a/src/java/cr0s/warpdrive/data/JumpgatesRegistry.java +++ b/src/java/cr0s/warpdrive/data/JumpgatesRegistry.java @@ -19,7 +19,7 @@ public final class JumpgatesRegistry { //@SideOnly(Side.CLIENT) public JumpgatesRegistry() { db = new File("gates.txt"); - WarpDrive.print("Gates.txt file: " + db); + WarpDrive.logger.info("Opening gates file '" + db + "'"); if (db != null && !db.exists()) { try { @@ -48,7 +48,7 @@ public final class JumpgatesRegistry { } public void loadGates() throws IOException { - WarpDrive.print("[JUMP GATES] Loading jump gates from gates.txt..."); + WarpDrive.logger.info("Loading jump gates from gates.txt..."); BufferedReader bufferedreader; bufferedreader = new BufferedReader(new FileReader(db)); String s1; @@ -58,7 +58,7 @@ public final class JumpgatesRegistry { } bufferedreader.close(); - WarpDrive.print("[JUMP GATES] Loaded " + gates.size() + " jump gates."); + WarpDrive.logger.info("Loaded " + gates.size() + " jump gates."); } public void addGate(Jumpgate jg) { diff --git a/src/java/cr0s/warpdrive/data/WarpCoresRegistry.java b/src/java/cr0s/warpdrive/data/WarpCoresRegistry.java index b13369ae..ab7f747a 100644 --- a/src/java/cr0s/warpdrive/data/WarpCoresRegistry.java +++ b/src/java/cr0s/warpdrive/data/WarpCoresRegistry.java @@ -80,11 +80,11 @@ public class WarpCoresRegistry { } public void printRegistry() { - WarpDrive.print("WarpCores registry:"); + WarpDrive.logger.info("WarpCores registry:"); removeDeadCores(); for (TileEntityReactor core : registry) { - WarpDrive.print("- Frequency '" + core.coreFrequency + "' @ '" + core.getWorldObj().provider.getDimensionName() + "' " + core.xCoord + ", " + WarpDrive.logger.info("- Frequency '" + core.coreFrequency + "' @ '" + core.getWorldObj().provider.getDimensionName() + "' " + core.xCoord + ", " + core.yCoord + ", " + core.zCoord + " with " + core.isolationBlocksCount + " isolation blocks"); } }