diff --git a/Cargo.lock b/Cargo.lock index 3cb9976342..952a9e9858 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2601,7 +2601,7 @@ dependencies = [ [[package]] name = "specs-idvs" version = "0.1.0" -source = "git+http://gitlab.nebulanet.cc/xacrimon/specs-idvs.git#282b0b573ba485fe71b5800d6c354adeb19a3c1b" +source = "git+http://gitlab.nebulanet.cc/xacrimon/specs-idvs.git#0a61720de65311840804cce31b4344747dff1df0" dependencies = [ "hibitset 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", "specs 0.14.3 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/common/src/comp/action_state.rs b/common/src/comp/action_state.rs index 23558ebb12..d638318538 100644 --- a/common/src/comp/action_state.rs +++ b/common/src/comp/action_state.rs @@ -1,4 +1,4 @@ -use specs::{Component, FlaggedStorage}; +use specs::{Component, FlaggedStorage, HashMapStorage}; use specs_idvs::IDVStorage; #[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)] @@ -25,5 +25,5 @@ impl Default for ActionState { } impl Component for ActionState { - type Storage = FlaggedStorage>; + type Storage = FlaggedStorage>; } diff --git a/common/src/comp/inventory/mod.rs b/common/src/comp/inventory/mod.rs index 11643cd6e8..44b5833ada 100644 --- a/common/src/comp/inventory/mod.rs +++ b/common/src/comp/inventory/mod.rs @@ -43,5 +43,5 @@ impl Inventory { } impl Component for Inventory { - type Storage = IDVStorage; + type Storage = HashMapStorage; }