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