mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
* Voracious Dragon - Fixed possible null pointer exception.
This commit is contained in:
parent
7ffde6b00b
commit
78b6a04cf5
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue