mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 20:54:34 +01:00
forgot a cast
This commit is contained in:
@@ -91,7 +91,7 @@ namespace PemukulPaku.GameServer.Commands
|
||||
avatar = player.AvatarList.FirstOrDefault(av => av.AvatarId == avatarId);
|
||||
if (avatar is not null)
|
||||
{
|
||||
avatar.GetType()?.GetProperty(modType)?.SetValue(avatar, value, null);
|
||||
avatar.GetType()?.GetProperty(modType)?.SetValue(avatar, (uint)value, null);
|
||||
avatar.Save();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user