mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[mage.core] forgot to return value when no type was found.
This commit is contained in:
parent
a5e6a3109b
commit
6ba6d46f43
1 changed files with 1 additions and 0 deletions
|
@ -77,5 +77,6 @@ public enum CounterType {
|
|||
case POISON:
|
||||
return new PoisonCounter(amount);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue