Minecraft Forge 1.16.4-35.1.32, with an *ACTUALLY* secure version of Log4j.
84684cf3b6
System.out.println("\n") causes currentMessage to start with a newline character, which means idx will always be 0 from then on. Therefore if idx is 0 messages must still be logged, otherwise no more messages sent to stdout will be logged and they will just accumulate in currentMessage. |
||
---|---|---|
fml |