DelayedReveal: use empty string as default to prevent crashing

This commit is contained in:
Hanmac
2016-07-15 16:38:10 +00:00
parent 115c125886
commit a79d066949

View File

@@ -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);