mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Changelog and small fix
This commit is contained in:
parent
b9a66a93b7
commit
053458c2e3
@ -44,6 +44,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- German translation
|
||||
- Added a silhouette for players when they are occluded
|
||||
- Added transparency to the player when zooming in
|
||||
- Made armor and hotbar slots actually function
|
||||
- Added dragging and right-click to use functionality to inventory, armor, & hotbar slotskillbars
|
||||
- Added capes, lanterns, and more armor items
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -174,11 +174,7 @@ pub fn handle_inventory(server: &mut Server, entity: EcsEntity, manip: comp::Inv
|
||||
};
|
||||
|
||||
if reinsert {
|
||||
let _ = state
|
||||
.ecs()
|
||||
.write_storage::<comp::Inventory>()
|
||||
.get_mut(entity)
|
||||
.map(|inv| inv.insert(slot, item));
|
||||
let _ = inventory.insert(slot, item);
|
||||
}
|
||||
|
||||
Some(comp::InventoryUpdateEvent::Used)
|
||||
|
Loading…
Reference in New Issue
Block a user