From 376001dbd4c11d6830c675538868a559c9b35a14 Mon Sep 17 00:00:00 2001 From: Alexander Medvedev Date: Sat, 6 Jun 2026 09:31:44 +0200 Subject: [PATCH] fix: register packet send and receive events --- pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/context.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/context.rs b/pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/context.rs index c8a28bf37..926094229 100644 --- a/pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/context.rs +++ b/pumpkin/src/plugin/loader/wasm/wasm_host/wit/v0_1/context.rs @@ -328,7 +328,9 @@ impl pumpkin::plugin::context::HostContext for PluginHostState { let handler = Arc::new(WasmPluginEventHandler { handler_id, plugin }); match event_type { - event_type @ (EventType::ServerCommandEvent + event_type @ (EventType::PacketReceivedEvent + | EventType::PacketSentEvent + | EventType::ServerCommandEvent | EventType::ServerBroadcastEvent | EventType::ServerTickEndEvent | EventType::ServerTickStartEvent) => {