runelite-client: fix invocation handler to return config

This commit is contained in:
Adam
2017-05-20 11:29:05 -04:00
parent 9e8bf482cb
commit edebf40162

View File

@@ -85,9 +85,10 @@ class ConfigInvocationHandler implements InvocationHandler
if (!objectValue.getClass().equals(returnType)) if (!objectValue.getClass().equals(returnType))
{ {
logger.warn("Unable to convert return type for configuration item {}.{}: {}", group.keyName(), item.keyName(), returnType); logger.warn("Unable to convert return type for configuration item {}.{}: {}", group.keyName(), item.keyName(), returnType);
return null;
} }
return null; return objectValue;
} }
else else
{ {