From 97fd9b6b6e7f67170eaefbc7efe8e6ec02bb0ea9 Mon Sep 17 00:00:00 2001 From: Alex Vasile <48962821+Alex-Vasile@users.noreply.github.com> Date: Sun, 3 Jul 2022 19:49:03 -0400 Subject: [PATCH] [ALL] Fix server error on cast --- Mage.Sets/src/mage/cards/r/RogueSkycaptain.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/r/RogueSkycaptain.java b/Mage.Sets/src/mage/cards/r/RogueSkycaptain.java index fe0089d759..32ce8943d5 100644 --- a/Mage.Sets/src/mage/cards/r/RogueSkycaptain.java +++ b/Mage.Sets/src/mage/cards/r/RogueSkycaptain.java @@ -49,9 +49,13 @@ public class RogueSkycaptain extends CardImpl { this.addAbility(new BeginningOfUpkeepTriggeredAbility(new RogueSkycaptainEffect(), TargetController.YOU, false)); } + private RogueSkycaptain(final RogueSkycaptain card) { + super(card); + } + @Override public Card copy() { - return null; + return new RogueSkycaptain(this); } }