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:
commit
08c35d5183
1 changed files with 3 additions and 2 deletions
|
@ -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
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue