From f67444a9eaf7f34c9cfaebc391709374f6b372e7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 14 Aug 2023 15:56:47 -0400 Subject: [PATCH] Cancel petition support --- .../net/client/handlers/PetitionReceivedMsgHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/PetitionReceivedMsgHandler.java b/src/engine/net/client/handlers/PetitionReceivedMsgHandler.java index 78ae4048..905badae 100644 --- a/src/engine/net/client/handlers/PetitionReceivedMsgHandler.java +++ b/src/engine/net/client/handlers/PetitionReceivedMsgHandler.java @@ -45,7 +45,9 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler { // Close the petition window - petitionReceivedMsg.petition = 4; + if (petitionReceivedMsg.petition != 2) + petitionReceivedMsg.petition = 4; + petitionReceivedMsg.unknownByte01 = 0; petitionReceivedMsg.unknown04 = 0;