forgot a cast

This commit is contained in:
Kyle873
2023-06-03 08:01:20 -04:00
parent 75d47b83ff
commit 96fe9b054d

View File

@@ -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