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:
@@ -106,7 +106,8 @@ public class CommonTickHandler implements ITickHandler
|
|||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
tickCount++;
|
tickCount++;
|
||||||
System.out.println("something on tick went wrong");
|
System.out.println("something on tick went wrong: " + e);
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
tickCount++;
|
tickCount++;
|
||||||
|
|
||||||
@@ -187,4 +188,4 @@ public class CommonTickHandler implements ITickHandler
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user