Browse Source

Add constants for message action type.

master
MagicBot 1 year ago
parent
commit
6d3050f08a
  1. 4
      src/engine/net/client/handlers/PetitionReceivedMsgHandler.java

4
src/engine/net/client/handlers/PetitionReceivedMsgHandler.java

@ -39,7 +39,6 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler { @@ -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 { @@ -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;
}
}

Loading…
Cancel
Save