Merge pull request #208 from jrtc27/patch-1

Fixed FMLRelaunchLog's Newline Handling
This commit is contained in:
cpw 2013-03-22 05:44:38 -07:00
commit b6835334b2

View file

@ -113,7 +113,7 @@ public class FMLRelaunchLog
// Are we longer than just the line separator?
int lastIdx = -1;
int idx = currentMessage.indexOf("\n",lastIdx+1);
while (idx > 0)
while (idx >= 0)
{
log.log(Level.INFO, currentMessage.substring(lastIdx+1,idx));
lastIdx = idx;