mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
DelayedReveal: use empty string as default to prevent crashing
This commit is contained in:
@@ -20,7 +20,7 @@ public class DelayedReveal implements Serializable {
|
||||
private final String messagePrefix;
|
||||
|
||||
public DelayedReveal(final Iterable<Card> cards0, final ZoneType zone0, final PlayerView owner0) {
|
||||
this(cards0, zone0, owner0, null);
|
||||
this(cards0, zone0, owner0, "");
|
||||
}
|
||||
public DelayedReveal(final Iterable<Card> cards0, final ZoneType zone0, final PlayerView owner0, final String messagePrefix0) {
|
||||
cards = CardView.getCollection(cards0);
|
||||
|
||||
Reference in New Issue
Block a user