mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-31 02:09:50 +08:00
Implement support for multiple scenes in a world
This commit is contained in:
@@ -15,7 +15,7 @@ public class HandlerEntityAiSyncNotify extends PacketHandler {
|
||||
EntityAiSyncNotify notify = EntityAiSyncNotify.parseFrom(payload);
|
||||
|
||||
if (notify.getLocalAvatarAlertedMonsterListCount() > 0) {
|
||||
session.getPlayer().getWorld().broadcastPacket(new PacketEntityAiSyncNotify(notify));
|
||||
session.getPlayer().getScene().broadcastPacket(new PacketEntityAiSyncNotify(notify));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user