Actually log the error in onTickInGame, instead of printing a not-very-descriptive message.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>
This commit is contained in:
Ross Allan 2013-06-30 20:53:02 +01:00
parent aa2d369f3e
commit e400794630

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
}
}
}