From dfb289fdd9f01fda80bcd4e2a582a6ecf322e277 Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Mon, 4 Nov 2013 16:45:20 +0100 Subject: [PATCH] Removed temporary sysouts --- .../blockstate/CreativeControlImportThread.java | 3 ++- .../limitedcreative/blockstate/DatabaseMigrationThread.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/CreativeControlImportThread.java b/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/CreativeControlImportThread.java index ff9bd6d..2a5d519 100644 --- a/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/CreativeControlImportThread.java +++ b/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/CreativeControlImportThread.java @@ -73,7 +73,8 @@ public class CreativeControlImportThread extends DatabaseMigrationThread { Cuboid c = new Cuboid(); c.add(new Location(world, x, 0, z)); c.add(new Location(world, x + CHUNK_SIZE, world.getMaxHeight(), z + CHUNK_SIZE)); - System.out.println("Fetching Cuboid: " + c.toString()); + if (mod.isDebug()) + mod.getLog().debug("Fetching Cuboid: " + c.toString()); for (BlockState bs : iterateAllIn(c)) { if (mode == Mode.UPDATE) { diff --git a/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/DatabaseMigrationThread.java b/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/DatabaseMigrationThread.java index 58a813e..bbec692 100644 --- a/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/DatabaseMigrationThread.java +++ b/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/DatabaseMigrationThread.java @@ -103,7 +103,8 @@ public class DatabaseMigrationThread extends Thread implements IDebugLogHolder { Cuboid c = new Cuboid(); c.add(new Location(world, x, 0, z)); c.add(new Location(world, x + CHUNK_SIZE, world.getMaxHeight(), z + CHUNK_SIZE)); - System.out.println("Fetching Cuboid: " + c.toString()); + if (mod.isDebug()) + mod.getLog().debug("Fetching Cuboid: " + c.toString()); for (BlockState bs : sourceDB.iterateAllIn(c)) { if (mode == Mode.UPDATE) {