From 27945c8870c832970dfe15b9bf9f567c0ad96ea4 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 21 Feb 2025 22:50:19 +0000 Subject: despawn entities when switching worlds and some testbot fixes --- azalea/examples/testbot/commands/debug.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'azalea/examples/testbot/commands/debug.rs') diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs index a7f15d2b..10b9711d 100644 --- a/azalea/examples/testbot/commands/debug.rs +++ b/azalea/examples/testbot/commands/debug.rs @@ -197,6 +197,8 @@ pub fn register(commands: &mut CommandDispatcher>) { .unwrap(); } + writeln!(report).unwrap(); + for (info, _) in ecs.iter_resources() { writeln!(report, "Resource: {}", info.name()).unwrap(); writeln!(report, "- Size: {} bytes", info.layout().size()).unwrap(); -- cgit v1.2.3