mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-23 18:54:37 +01:00
Remove unnecessary packet
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
package emu.lunarcore.server.packet.send;
|
||||
|
||||
import emu.lunarcore.game.scene.entity.GameEntity;
|
||||
import emu.lunarcore.proto.SceneEntityUpdateScNotifyOuterClass.SceneEntityUpdateScNotify;
|
||||
import emu.lunarcore.server.packet.BasePacket;
|
||||
import emu.lunarcore.server.packet.CmdId;
|
||||
|
||||
public class PacketSceneEntityUpdateScNotify extends BasePacket {
|
||||
|
||||
public PacketSceneEntityUpdateScNotify(GameEntity toAdd) {
|
||||
super(CmdId.SceneEntityUpdateScNotify);
|
||||
|
||||
var data = SceneEntityUpdateScNotify.newInstance()
|
||||
.addEntityList(toAdd.toSceneEntityProto());
|
||||
|
||||
this.setData(data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user