chore: expose packet events
This commit is contained in:
parent
96a9328af8
commit
96af1fdbf6
@ -8,7 +8,10 @@ use std::{
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
pub use crate::wit::pumpkin::plugin::event::{Event, EventPriority, InteractAction};
|
pub use crate::wit::pumpkin::plugin::event::{
|
||||||
|
BedrockClientboundPacket, BedrockServerboundPacket, ClientboundPacket, Event, EventPriority,
|
||||||
|
InteractAction, JavaClientboundPacket, JavaServerboundPacket, ServerboundPacket,
|
||||||
|
};
|
||||||
use crate::{Context, Result, Server, wit::pumpkin::plugin::event::EventType};
|
use crate::{Context, Result, Server, wit::pumpkin::plugin::event::EventType};
|
||||||
|
|
||||||
pub mod block;
|
pub mod block;
|
||||||
|
|||||||
@ -1840,8 +1840,6 @@ impl World {
|
|||||||
})
|
})
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
chunker::update_position(&player).await;
|
|
||||||
|
|
||||||
client
|
client
|
||||||
.send_game_packet(&CreativeContent {
|
.send_game_packet(&CreativeContent {
|
||||||
groups: &[Group {
|
groups: &[Group {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user