mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-17 16:32:37 +08:00
feat: implement teapot suite (#2344)
* feat: implement teapot suite * fix: home animals, check respawn, etc * fix: NPE and cancel summon events * fix: forgot to send eventId also
This commit is contained in:
committed by
GitHub
Unverified
parent
83602f78ae
commit
fc42f665a7
+12
@@ -0,0 +1,12 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.game.player.Player;
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
|
||||
public class PacketHomeAvatarSummonAllEventNotify extends BasePacket {
|
||||
public PacketHomeAvatarSummonAllEventNotify(Player homeOwner) {
|
||||
super(PacketOpcodes.HomeAvatarSummonAllEventNotify);
|
||||
this.setData(homeOwner.getCurHomeWorld().getModuleManager().toSummonEventProto());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user