Fix up handling the new method signature data for NetworkCheckHandlers

This commit is contained in:
Christian committed 2013-10-14 21:28:15 -04:00
1 parent c56f2e3b37
commit fa97bebf34
1 file changed
+3
@@ -16,6 +16,8 @@ import java.lang.reflect.Method;
import java.util.Set;
import java.util.logging.Level;
import org.objectweb.asm.Type;
import net.minecraft.item.Item;
import com.google.common.base.Strings;
@@ -77,6 +79,7 @@ public class NetworkModHandler
if (vch.getClassName().equals(networkModClass.getName()))
{
versionCheckHandlerMethod = vch.getObjectName();
versionCheckHandlerMethod = versionCheckHandlerMethod.substring(0,versionCheckHandlerMethod.indexOf('('));
break;
}
}