From 6ba6d46f439a6528415601c21db568d4d0b8a5ac Mon Sep 17 00:00:00 2001 From: magenoxx Date: Wed, 29 Dec 2010 12:39:07 +0300 Subject: [PATCH] [mage.core] forgot to return value when no type was found. --- Mage/src/mage/counters/CounterType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Mage/src/mage/counters/CounterType.java b/Mage/src/mage/counters/CounterType.java index 6447dcc172..8adf29dd81 100644 --- a/Mage/src/mage/counters/CounterType.java +++ b/Mage/src/mage/counters/CounterType.java @@ -77,5 +77,6 @@ public enum CounterType { case POISON: return new PoisonCounter(amount); } + return null; } }