From e40079463011474e737722ff4fdd8fecdc85ab08 Mon Sep 17 00:00:00 2001 From: Ross Allan Date: Sun, 30 Jun 2013 20:53:02 +0100 Subject: [PATCH] Actually log the error in onTickInGame, instead of printing a not-very-descriptive message. Signed-off-by: Ross Allan --- StevenDimDoors/mod_pocketDim/CommonTickHandler.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/StevenDimDoors/mod_pocketDim/CommonTickHandler.java b/StevenDimDoors/mod_pocketDim/CommonTickHandler.java index 09582f90..9fc01cf4 100644 --- a/StevenDimDoors/mod_pocketDim/CommonTickHandler.java +++ b/StevenDimDoors/mod_pocketDim/CommonTickHandler.java @@ -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 } -} \ No newline at end of file +}