better naming for "stackable" modifier

This commit is contained in:
XtraCube committed 2025-02-23 20:13:12 -05:00
1 parent 8fb8d18be9
commit fb19b4bc04
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -260,7 +260,7 @@ public class ModifierComponent(IntPtr cppPtr) : MonoBehaviour(cppPtr)
return null;
}
if (Modifiers.Find(x => x.ModifierId == modifierId && !x.Stackable) != null)
if (Modifiers.Find(x => x.ModifierId == modifierId && x.Unique) != null)
{
Logger<MiraApiPlugin>.Error($"Player already has modifier with id {modifierId}!");
return null;