[mage.core] forgot to return value when no type was found.

This commit is contained in:
magenoxx 2010-12-29 12:39:07 +03:00
parent a5e6a3109b
commit 6ba6d46f43

View file

@ -77,5 +77,6 @@ public enum CounterType {
case POISON:
return new PoisonCounter(amount);
}
return null;
}
}