mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
*Fixed leaving planes.
This commit is contained in:
@@ -2303,11 +2303,9 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
* Puts my currently active planes, if any, at the bottom of my planar deck.
|
||||
*/
|
||||
public void leaveCurrentPlane() {
|
||||
for (final Card plane : currentPlanes) {
|
||||
//Run PlaneswalkedFrom triggers here.
|
||||
final Map<String, Object> runParams = new ImmutableMap.Builder<String, Object>().put("Card", plane).build();
|
||||
|
||||
final Map<String, Object> runParams = new ImmutableMap.Builder<String, Object>().put("Cards", new CardCollection(currentPlanes)).build();
|
||||
game.getTriggerHandler().runTrigger(TriggerType.PlaneswalkedFrom, runParams,false);
|
||||
}
|
||||
|
||||
for (final Card plane : currentPlanes) {
|
||||
//game.getZoneOf(plane).remove(plane);
|
||||
|
||||
Reference in New Issue
Block a user