mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
postion -> position
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user