mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-09 15:37:45 +00:00
Inventory: fix the operation type for item discard, it was incorrect
This commit is contained in:
parent
7291863481
commit
5284801554
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ impl Inventory {
|
|||
}
|
||||
|
||||
pub fn process_action(&mut self, action: &ItemOperation) {
|
||||
if action.operation_type == 78 {
|
||||
if action.operation_type == 145 {
|
||||
// discard
|
||||
let src_container = self.get_container_mut(&action.src_storage_id);
|
||||
let src_slot = src_container.get_slot_mut(action.src_container_index);
|
||||
|
|
Loading…
Add table
Reference in a new issue