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
@@ -53,6 +53,7 @@ public class PetitionReceivedMsg extends ClientNetMsg {
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.petition);
if (this.petition == PETITION_NEW) {
writer.putInt(this.unknown01);
writer.putInt(this.unknown02);
@@ -67,7 +68,7 @@ public class PetitionReceivedMsg extends ClientNetMsg {
writer.putString(this.language);
writer.putInt(this.unknown07);
writer.putUnicodeString(message);
} else if (this.petition == PETITION_CANCEL) {
} else {
writer.putInt(this.unknown01);
writer.putInt(this.unknown02);
writer.put(this.unknownByte01);