diff options
Diffstat (limited to 'azalea-world/src')
| -rw-r--r-- | azalea-world/src/container.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-world/src/container.rs b/azalea-world/src/container.rs index 0b68ead6..69b8f908 100644 --- a/azalea-world/src/container.rs +++ b/azalea-world/src/container.rs @@ -3,6 +3,7 @@ use bevy_ecs::{component::Component, system::Resource}; use derive_more::{Deref, DerefMut}; use nohash_hasher::IntMap; use parking_lot::RwLock; +use rustc_hash::FxHashMap; use std::{ collections::HashMap, sync::{Arc, Weak}, @@ -27,7 +28,7 @@ pub struct InstanceContainer { // telling them apart. We hope most servers are nice and don't do that though. It's only an // issue when there's multiple clients with the same WorldContainer in different worlds // anyways. - pub instances: HashMap<ResourceLocation, Weak<RwLock<Instance>>>, + pub instances: FxHashMap<ResourceLocation, Weak<RwLock<Instance>>>, } impl InstanceContainer { |
