From 881055e58711838893416bfc555e0643c5cfa515 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 2 May 2025 01:20:25 +0000 Subject: fix InstanceName desync --- azalea-world/src/container.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-world/src') diff --git a/azalea-world/src/container.rs b/azalea-world/src/container.rs index 6e3c18d3..2bccddac 100644 --- a/azalea-world/src/container.rs +++ b/azalea-world/src/container.rs @@ -46,7 +46,7 @@ impl InstanceContainer { /// Add an empty world to the container (unless it already exists) and /// returns a strong reference to the world. #[must_use = "the world will be immediately forgotten if unused"] - pub fn insert( + pub fn get_or_insert( &mut self, name: ResourceLocation, height: u32, -- cgit v1.2.3