mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Guard against StackOverflow if LKI gets used for Moved (#2434)
Co-authored-by: TRT <>
This commit is contained in:
@@ -200,7 +200,7 @@ public class ReplacementHandler {
|
||||
}
|
||||
}
|
||||
|
||||
if (!replacementEffect.hasRun()
|
||||
if (!replacementEffect.hasRun() && !hasRun.contains(replacementEffect)
|
||||
&& (layer == null || replacementEffect.getLayer() == layer)
|
||||
&& event.equals(replacementEffect.getMode())
|
||||
&& !possibleReplacers.contains(replacementEffect)
|
||||
|
||||
Reference in New Issue
Block a user