修复无法装备的问题

This commit is contained in:
milimoe 2024-12-07 01:12:16 +08:00
parent d35251f258
commit a1a5bfd094
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E

View File

@ -998,7 +998,7 @@ namespace Oshima.Core.Controllers
{
return NetworkUtility.JsonSerialize($"这个物品无法被装备!");
}
else if (item.EquipSlotType != EquipSlotType.None || item.Character != null)
else if (item.EquipSlotType != EquipSlotType.None)
{
return NetworkUtility.JsonSerialize($"这个物品无法被装备!" + (item.Character != null ? $"[ {item.Character.ToStringWithLevelWithOutUser()} ] 已装备此物品。" : ""));
}