From 439e7b1dfd1c2a9936908cb67a56756c4c990b60 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 07:48:08 +0000 Subject: [PATCH] Sync to Pumpkin-MC/pumpkin-plugin-wit@39bf330 --- src/plugin.wit | 1 + src/wit/event.zig | 1 + wit | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugin.wit b/src/plugin.wit index 4855e92..1283287 100644 --- a/src/plugin.wit +++ b/src/plugin.wit @@ -11825,6 +11825,7 @@ interface event { position: position, target-world: %world, spawn-reason: string, + player: option, cancelled: bool, } diff --git a/src/wit/event.zig b/src/wit/event.zig index c9811a2..cfe273c 100644 --- a/src/wit/event.zig +++ b/src/wit/event.zig @@ -569,6 +569,7 @@ pub const CreatureSpawnEventData = struct { position: Position, target_world: World, spawn_reason: []const u8, + player: ?Player, cancelled: bool, }; diff --git a/wit b/wit index 4d7a501..39bf330 160000 --- a/wit +++ b/wit @@ -1 +1 @@ -Subproject commit 4d7a501943bb99f0f02a339128833f58ed37d0cc +Subproject commit 39bf330fa6aefc91c8ac61bd07d0fdbd5a5b95ac