From 17d2c6cc748b7214fc28d8073a277352f6787016 Mon Sep 17 00:00:00 2001 From: Melledy <52122272+Melledy@users.noreply.github.com> Date: Wed, 27 Apr 2022 10:25:25 -0700 Subject: [PATCH] Fix internal server error when changing characters --- .../grasscutter/server/packet/send/PacketChangeAvatarRsp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/emu/grasscutter/server/packet/send/PacketChangeAvatarRsp.java b/src/main/java/emu/grasscutter/server/packet/send/PacketChangeAvatarRsp.java index f5efe6808..0fd69fe26 100644 --- a/src/main/java/emu/grasscutter/server/packet/send/PacketChangeAvatarRsp.java +++ b/src/main/java/emu/grasscutter/server/packet/send/PacketChangeAvatarRsp.java @@ -11,7 +11,7 @@ public class PacketChangeAvatarRsp extends BasePacket { super(PacketOpcodes.ChangeAvatarRsp); ChangeAvatarRsp p = ChangeAvatarRsp.newBuilder() - .setRetcode(RetcodeOuterClass.Retcode.RET_SVR_ERROR_VALUE) + .setRetcode(RetcodeOuterClass.Retcode.RET_SUCC_VALUE) .setCurGuid(guid) .build();