chore: expose packet events

This commit is contained in:
Alexander Medvedev 2026-06-06 08:52:54 +02:00
parent 96a9328af8
commit 96af1fdbf6
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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 {