Merge pull request #36 from nallar/patch-1

Actually log the error in onTickInGame, instead of printing a not-very-descriptive message.
This commit is contained in:
StevenRS11 2013-07-04 18:47:39 -07:00
commit 08c35d5183

View file

@ -106,7 +106,8 @@ public class CommonTickHandler implements ITickHandler
catch (Exception e)
{
tickCount++;
System.out.println("something on tick went wrong");
System.out.println("something on tick went wrong: " + e);
e.printStackTrace();
}
tickCount++;
@ -187,4 +188,4 @@ public class CommonTickHandler implements ITickHandler
}
}
}