postion -> position

This commit is contained in:
StripedMonkey
2024-08-20 20:04:33 -04:00
parent f56b566afb
commit dbe3964e41
2 changed files with 6 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ use crate::VarInt;
#[derive(Serialize)]
#[packet(0x40)]
pub struct CSyncPlayerPostion {
pub struct CSyncPlayerPosition {
x: f64,
y: f64,
z: f64,
@@ -15,7 +15,7 @@ pub struct CSyncPlayerPostion {
teleport_id: VarInt,
}
impl CSyncPlayerPostion {
impl CSyncPlayerPosition {
pub fn new(
x: f64,
y: f64,

View File

@@ -19,7 +19,10 @@ use pumpkin_protocol::{
client::{
config::CConfigDisconnect,
login::CLoginDisconnect,
play::{CGameEvent, CPlayDisconnect, CSetContainerContent, CSyncPlayerPosition, CSystemChatMessage},
play::{
CGameEvent, CPlayDisconnect, CSetContainerContent, CSyncPlayerPosition,
CSystemChatMessage,
},
},
packet_decoder::PacketDecoder,
packet_encoder::PacketEncoder,