mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-19 02:15:45 +01:00
fix some region errors
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.DungeonShowReminderNotifyOuterClass;
|
||||
|
||||
public class PacketDungeonShowReminderNotify extends BasePacket {
|
||||
|
||||
public PacketDungeonShowReminderNotify(int reminderId) {
|
||||
super(PacketOpcodes.DungeonShowReminderNotify);
|
||||
|
||||
var proto = DungeonShowReminderNotifyOuterClass.DungeonShowReminderNotify.newBuilder();
|
||||
|
||||
proto.setReminderId(reminderId);
|
||||
|
||||
this.setData(proto);
|
||||
}
|
||||
}
|
||||
@@ -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)
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user