Petition window work.

This commit is contained in:
2023-08-14 15:42:05 -04:00
parent bcf789030e
commit cf78e6c2a4
2 changed files with 7 additions and 3 deletions
@@ -45,8 +45,11 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler {
// Close the petition window
petitionReceivedMsg.petition = 1;
Dispatch dispatch = Dispatch.borrow(playerCharacter, msg);
petitionReceivedMsg.petition = 4;
petitionReceivedMsg.unknownByte01 = 0;
petitionReceivedMsg.unknown04 = 0;
Dispatch dispatch = Dispatch.borrow(playerCharacter, petitionReceivedMsg);
DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY);
} catch (Exception e) {