Fixed annoying debug packet output message where it didn't have a println

This commit is contained in:
Obique
2015-01-15 01:30:22 -06:00
committed by Obique
parent 6252a09e8d
commit 5fe7cf6248
+2 -2
View File
@@ -29,7 +29,7 @@ public class CoreManager extends Manager {
static {
try {
packetOutput = new PrintStream(new FileOutputStream("packets.txt", true));
packetOutput = new PrintStream(new FileOutputStream("packets.txt", false));
} catch (FileNotFoundException e) {
e.printStackTrace();
packetOutput = System.out;
@@ -106,7 +106,7 @@ public class CoreManager extends Manager {
} else {
for (int i = 0; i < indent; i++)
packetOutput.print(" ");
packetOutput.print(packet.getClass().getSimpleName());
packetOutput.println(packet.getClass().getSimpleName());
}
}