mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 08:22:33 +00:00
16 lines
317 B
Rust
16 lines
317 B
Rust
use crate::{ServerPacket, VarInt};
|
|
|
|
pub struct SConfirmTeleport {
|
|
teleport_id: VarInt,
|
|
}
|
|
|
|
impl ServerPacket for SConfirmTeleport {
|
|
const PACKET_ID: VarInt = 0x00;
|
|
|
|
fn read(bytebuf: &mut crate::bytebuf::ByteBuffer) -> Self {
|
|
Self {
|
|
teleport_id: bytebuf.get_var_int(),
|
|
}
|
|
}
|
|
}
|