diff options
| author | mat <git@matdoes.dev> | 2025-05-02 01:20:25 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-02 01:20:25 +0000 |
| commit | 881055e58711838893416bfc555e0643c5cfa515 (patch) | |
| tree | 20eca9e01a7422e0a8fb35651307f0420c931339 /azalea-world/src | |
| parent | 11a74f215e28d7c3971c9894351567edb68ef0f8 (diff) | |
| download | azalea-drasl-881055e58711838893416bfc555e0643c5cfa515.tar.xz | |
fix InstanceName desync
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, |
