diff options
Diffstat (limited to 'azalea-world/src')
| -rw-r--r-- | azalea-world/src/container.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
