mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
GameAction: fixed unlikey equals
This commit is contained in:
@@ -419,7 +419,7 @@ public class GameAction {
|
||||
//c.setMeldedWith(null);
|
||||
((PlayerZoneBattlefield)zoneFrom).removeFromMelded(unmeld);
|
||||
Integer unmeldPosition = position;
|
||||
if (unmeldPosition != null && (zoneTo.equals(ZoneType.Library) || zoneTo.equals(ZoneType.Graveyard))) {
|
||||
if (unmeldPosition != null && (zoneTo.is(ZoneType.Library) || zoneTo.is(ZoneType.Graveyard))) {
|
||||
// Ask controller if it wants to be on top or bottom of other meld.
|
||||
unmeldPosition++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user