Logger update...

This commit is contained in:
LemADEC 2015-07-26 23:48:04 +02:00
parent 2f2055cbf3
commit 44308df3a1

View file

@ -101,8 +101,8 @@ public class JumpBlock {
WarpDriveConfig.forgeMultipart_helper_sendDescPacket.invoke(null, targetWorld, newTileEntity);
}
} else {
WarpDrive.print(" moveBlockSimple failed to create new tile entity at " + x + ", " + y + ", " + z + " blockId " + block + ":" + blockMeta);
WarpDrive.print("NBT data was " + ((oldnbt == null) ? "null" : oldnbt.toString()));
WarpDrive.logger.info(" moveBlockSimple failed to create new tile entity at " + x + ", " + y + ", " + z + " blockId " + block + ":" + blockMeta);
WarpDrive.logger.info("NBT data was " + ((oldnbt == null) ? "null" : oldnbt.toString()));
}
}
} catch (Exception exception) {
@ -113,7 +113,7 @@ public class JumpBlock {
} catch (Exception dropMe) {
coordinates = " (unknown coordinates)";
}
WarpDrive.print("moveBlockSimple exception at " + coordinates);
WarpDrive.logger.info("moveBlockSimple exception at " + coordinates);
return false;
}