mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-13 12:04: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);
|
avatar = player.AvatarList.FirstOrDefault(av => av.AvatarId == avatarId);
|
||||||
if (avatar is not null)
|
if (avatar is not null)
|
||||||
{
|
{
|
||||||
avatar.GetType()?.GetProperty(modType)?.SetValue(avatar, value, null);
|
avatar.GetType()?.GetProperty(modType)?.SetValue(avatar, (uint)value, null);
|
||||||
avatar.Save();
|
avatar.Save();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user