mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-16 14:42:53 +08:00
send CompoundDataNotify on Login;fix spelling mistakes. (#1869)
This commit is contained in:
committed by
GitHub
Unverified
parent
84d02370df
commit
b5f356ce4f
@@ -10,11 +10,11 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public class PacketGetCompoundDataRsp extends BasePacket {
|
||||
public PacketGetCompoundDataRsp(Set<Integer> unlockedCompounds, List<CompoundQueueData> compundQueueData) {
|
||||
public PacketGetCompoundDataRsp(Set<Integer> unlockedCompounds, List<CompoundQueueData> compoundQueueData) {
|
||||
super(PacketOpcodes.GetCompoundDataRsp);
|
||||
var proto = GetCompoundDataRsp.newBuilder()
|
||||
.addAllUnlockCompoundList(unlockedCompounds)
|
||||
.addAllCompoundQueDataList(compundQueueData)
|
||||
.addAllCompoundQueDataList(compoundQueueData)
|
||||
.setRetcode(Retcode.RET_SUCC_VALUE)
|
||||
.build();
|
||||
setData(proto);
|
||||
|
||||
Reference in New Issue
Block a user