Move all SysOut references to debug logging
This commit is contained in:
parent
b1be099d67
commit
0dd0854bd9
11 changed files with 21 additions and 151 deletions
|
@ -1,6 +1,7 @@
|
|||
package WayofTime.bloodmagic.structures;
|
||||
|
||||
import WayofTime.bloodmagic.BloodMagic;
|
||||
import WayofTime.bloodmagic.util.BMLog;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.util.Mirror;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
@ -25,7 +26,7 @@ public class BuildTestStructure {
|
|||
Template template = templatemanager.getTemplate(minecraftserver, resource);
|
||||
|
||||
if (template == null) {
|
||||
System.out.println("Invalid template for location: " + resource);
|
||||
BMLog.DEBUG.warn("Invalid template for location: " + resource);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package WayofTime.bloodmagic.structures;
|
||||
|
||||
import WayofTime.bloodmagic.ritual.data.AreaDescriptor;
|
||||
import WayofTime.bloodmagic.util.BMLog;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.Mirror;
|
||||
import net.minecraft.util.Rotation;
|
||||
|
@ -131,7 +132,7 @@ public class Dungeon {
|
|||
long endTime = System.nanoTime();
|
||||
|
||||
long duration = (endTime - startTime); //divide by 1000000 to get milliseconds.
|
||||
System.out.println("Duration: " + duration + "(ns), " + duration / 1000000 + "(ms)");
|
||||
BMLog.DEBUG.info("Duration: " + duration + "(ns), " + duration / 1000000 + "(ms)");
|
||||
|
||||
//Building what I've got
|
||||
for (Entry<BlockPos, Pair<DungeonRoom, PlacementSettings>> entry : roomMap.entrySet()) {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package WayofTime.bloodmagic.structures;
|
||||
|
||||
import WayofTime.bloodmagic.util.BMLog;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
|
@ -27,7 +28,7 @@ public class DungeonStructure {
|
|||
Template template = templatemanager.getTemplate(minecraftserver, resource);
|
||||
|
||||
if (template == null) {
|
||||
System.out.println("Invalid template for location: " + resource);
|
||||
BMLog.DEBUG.warn("Invalid template for location: " + resource);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue