mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-21 01:39:57 +08:00
Fix sitting in chairs
This commit is contained in:
committed by
memetrollsXD
Unverified
parent
2f39aff4a6
commit
c67e324a2e
@@ -0,0 +1,21 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.EvtAvatarStandUpNotifyOuterClass.EvtAvatarStandUpNotify;
|
||||
|
||||
public class PacketEvtAvatarStandUpNotify extends BasePacket {
|
||||
|
||||
public PacketEvtAvatarStandUpNotify(EvtAvatarStandUpNotify notify) {
|
||||
super(PacketOpcodes.EvtAvatarStandUpNotify);
|
||||
|
||||
EvtAvatarStandUpNotify proto = EvtAvatarStandUpNotify.newBuilder()
|
||||
.setEntityId(notify.getEntityId())
|
||||
.setDirection(notify.getDirection())
|
||||
.setPerformID(notify.getPerformID())
|
||||
.setChairId(notify.getChairId())
|
||||
.build();
|
||||
|
||||
this.setData(proto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user