fix some region errors

This commit is contained in:
Akka
2022-07-03 15:56:18 +08:00
committed by Melledy
Unverified
parent 4cd31af011
commit b92cc6a882
7 changed files with 100 additions and 11 deletions
@@ -18,8 +18,9 @@ public class PacketGroupSuiteNotify extends BasePacket {
var proto = GroupSuiteNotifyOuterClass.GroupSuiteNotify.newBuilder();
npcBornEntries.forEach(x ->
x.getSuiteIdList().forEach(y ->
npcBornEntries.stream()
.filter(x -> x.getGroupId() > 0 && x.getSuiteIdList() != null)
.forEach(x -> x.getSuiteIdList().forEach(y ->
proto.putGroupMap(x.getGroupId(), y)
));