mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
It compiles
This commit is contained in:
parent
2d7056b3d4
commit
017651358d
3 changed files with 3 additions and 3 deletions
|
@ -545,7 +545,7 @@ impl Client {
|
|||
|
||||
world.move_entity_with_delta(p.entity_id, &p.delta)?;
|
||||
}
|
||||
GamePacket::ClientboundMoveEntityPosRotPacket(p) => {
|
||||
GamePacket::ClientboundMoveEntityPosrotPacket(p) => {
|
||||
let mut state_lock = state.lock()?;
|
||||
let world = state_lock.world.as_mut().unwrap();
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ pub struct ClientboundCustomChatCompletionsPacket {
|
|||
pub entries: Vec<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, McBuf)]
|
||||
#[derive(Clone, Debug, McBuf, Copy)]
|
||||
pub enum Action {
|
||||
Add = 0,
|
||||
Remove = 1,
|
||||
|
|
|
@ -4,7 +4,7 @@ use packet_macros::GamePacket;
|
|||
|
||||
/// This packet is sent by the server when an entity moves less then 8 blocks.
|
||||
#[derive(Clone, Debug, McBuf, GamePacket)]
|
||||
pub struct ClientboundMoveEntityPosRotPacket {
|
||||
pub struct ClientboundMoveEntityPosrotPacket {
|
||||
#[var]
|
||||
pub entity_id: u32,
|
||||
pub delta: PositionDelta8,
|
||||
|
|
Loading…
Add table
Reference in a new issue