* Voracious Dragon - Fixed possible null pointer exception.

This commit is contained in:
LevelX2 2013-07-14 23:51:15 +02:00
parent 7ffde6b00b
commit 78b6a04cf5

View file

@ -168,7 +168,7 @@ public class DevourEffect extends ReplacementEffectImpl<DevourEffect> {
if (object != null) { if (object != null) {
return (List<ArrayList<String>>) object; return (List<ArrayList<String>>) object;
} }
return null; return new ArrayList<ArrayList<String>>();
} }
public int getDevouredCreaturesAmount(Game game, UUID permanentId) { public int getDevouredCreaturesAmount(Game game, UUID permanentId) {