1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-10 07:57:46 +00:00

Address "warning: casting to the same type is unnecessary (u32 -> u32)"

This commit is contained in:
The Dax 2025-06-30 20:18:17 -04:00 committed by Joshua Goins
parent 3fc863616c
commit 1f065472d0

View file

@ -743,7 +743,7 @@ impl ZoneConnection {
self.change_weather(*id).await;
}
Task::AddGil { amount } => {
self.player_data.inventory.currency.get_slot_mut(0).quantity += *amount as u32;
self.player_data.inventory.currency.get_slot_mut(0).quantity += *amount;
self.send_inventory(false).await;
}
Task::UnlockOrchestrion { id, on } => {