Fixed NPE in tooltips for Emblem choose-trigger

This commit is contained in:
magenoxx 2014-10-02 12:17:25 +04:00
parent 845d3a7951
commit 922e35ff1c
3 changed files with 11 additions and 14 deletions

View file

@ -32,7 +32,8 @@ public enum MageObjectType {
SPELL ("Spell", false, true),
PERMANENT ("Permanent", true, true),
EMBLEM ("Emblem", false, false),
COMMANDER ("Commander", false, false);
COMMANDER ("Commander", false, false),
NULL("NullObject", false, false);
private final String text;
private final boolean permanent;