mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 11:39:45 +00:00
better naming for "stackable" modifier
This commit is contained in:
1 parent
8fb8d18be9
commit
fb19b4bc04
2 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user