From 1f065472d01c609f819a52486946614084391f43 Mon Sep 17 00:00:00 2001 From: The Dax Date: Mon, 30 Jun 2025 20:18:17 -0400 Subject: [PATCH] Address "warning: casting to the same type is unnecessary (`u32` -> `u32`)" --- src/world/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/connection.rs b/src/world/connection.rs index 8ca872b..e8a857c 100644 --- a/src/world/connection.rs +++ b/src/world/connection.rs @@ -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 } => {