mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-13 01:34:08 +08:00
Update gc to 3.3 (#1981)
* replace the deprecated api * update proto * delete music game * fixed codes * fix costume switch * fix mail bug * Bump version number. * Re-add max boss chest number Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
8b83dbf58c
commit
92fbaa8670
@@ -13,7 +13,7 @@ public class PacketAvatarDataNotify extends BasePacket {
|
||||
|
||||
AvatarDataNotify.Builder proto = AvatarDataNotify.newBuilder()
|
||||
.setCurAvatarTeamId(player.getTeamManager().getCurrentTeamId())
|
||||
//.setChooseAvatarGuid(player.getTeamManager().getCurrentCharacterGuid())
|
||||
.setChooseAvatarGuid(player.getTeamManager().getCurrentCharacterGuid())
|
||||
.addAllOwnedFlycloakList(player.getFlyCloakList())
|
||||
.addAllOwnedCostumeList(player.getCostumeList());
|
||||
|
||||
@@ -22,7 +22,7 @@ public class PacketAvatarDataNotify extends BasePacket {
|
||||
player.getTeamManager().getTeams().forEach((id, teamInfo) -> {
|
||||
proto.putAvatarTeamMap(id, teamInfo.toProto(player));
|
||||
if (id > 4) { // Add the id list for custom teams.
|
||||
proto.addCustomTeamIds(id);
|
||||
proto.addBackupAvatarTeamOrderList(id);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user