- Fixed DebuffEffect.

This commit is contained in:
Sloth
2013-06-23 09:35:31 +00:00
parent 6b04ca78f9
commit 770a7d20a8

View File

@@ -55,7 +55,10 @@ public class DebuffEffect extends SpellAbilityEffect {
@Override
public void resolve(SpellAbility sa) {
final List<String> kws = sa.hasParam("Keywords") ? Arrays.asList(sa.getParam("Keywords").split(" & ")) : new ArrayList<String>();
final List<String> kws = new ArrayList<String>();
if (sa.hasParam("Keywords")) {
kws.addAll(Arrays.asList(("Keywords").split(" & ")));
}
final Game game = sa.getActivatingPlayer().getGame();
final long timestamp = game.getNextTimestamp();