mooore stuff
Some checks failed
Linux arm64 / Build (push) Failing after 5m5s

This commit is contained in:
2025-01-26 13:46:23 +01:00
parent caf7011f08
commit e51cc23459
20 changed files with 395 additions and 65 deletions

View File

@@ -0,0 +1,28 @@
package network.protocol.packets;
import network.protocol.Packet;
import network.protocol.PacketVisitor;
import network.protocol.Packets;
public class PlayerLeavePacket extends Packet{
static private final long serialVersionUID = Packets.PlayerLeave.ordinal();
private final int playerId;
public PlayerLeavePacket(int playerId) {
this.playerId = playerId;
}
public int getPlayer() {
return playerId;
}
@Override
public void accept(PacketVisitor packetVisitor) {
packetVisitor.visitPacket(this);
}
}