From 6d3050f08a319f5e296081e66d584a9425e64845 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 14 Aug 2023 16:11:26 -0400 Subject: [PATCH] Add constants for message action type. --- .../net/client/handlers/PetitionReceivedMsgHandler.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/engine/net/client/handlers/PetitionReceivedMsgHandler.java b/src/engine/net/client/handlers/PetitionReceivedMsgHandler.java index e34be6d3..7049bd88 100644 --- a/src/engine/net/client/handlers/PetitionReceivedMsgHandler.java +++ b/src/engine/net/client/handlers/PetitionReceivedMsgHandler.java @@ -39,7 +39,6 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler { Petition petition = new Petition(msg, origin); - try { // Write petition to database if (petitionReceivedMsg.petition == PETITION_NEW) @@ -56,9 +55,6 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler { Dispatch dispatch = Dispatch.borrow(playerCharacter, petitionReceivedMsg); DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY); - } catch (Exception e) { - return false; - } return true; } }