Resolve syntax issues caused by xjoao.

This commit is contained in:
Mike 2020-06-02 11:35:46 +02:00
parent ff912dccc2
commit 00f36170f1
2 changed files with 3 additions and 2 deletions

View File

@ -74,7 +74,7 @@ public abstract class Game implements Runnable {
habbo.getClient().sendResponse(new GuideSessionPartnerIsPlayingComposer(true)); habbo.getClient().sendResponse(new GuideSessionPartnerIsPlayingComposer(true));
return true; return true;
} }
} catch (NoSuchMethodException | SecurityException e) { } catch (Exception e) {
LOGGER.error("Caught exception", e); LOGGER.error("Caught exception", e);
} }

View File

@ -73,7 +73,8 @@ public class ForumThread implements Runnable, ISerialize {
try { try {
this.lastComment = ForumThreadComment.getById(set.getInt("last_comment_id")); this.lastComment = ForumThreadComment.getById(set.getInt("last_comment_id"));
} catch (SQLException e)) { } catch (SQLException e) {
LOGGER.error("ForumThread last_comment_id exception", e);
} }
this.comments = new THashMap<>(); this.comments = new THashMap<>();