From e6cd1fedf0382b7ca64bb53c44ad9556e44c890a Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 16 Jun 2018 13:27:02 -0400 Subject: [PATCH] config invocation handler: replace args with literal null --- .../net/runelite/client/config/ConfigInvocationHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/config/ConfigInvocationHandler.java b/runelite-client/src/main/java/net/runelite/client/config/ConfigInvocationHandler.java index 2895fc31fb..59eb3dc14f 100644 --- a/runelite-client/src/main/java/net/runelite/client/config/ConfigInvocationHandler.java +++ b/runelite-client/src/main/java/net/runelite/client/config/ConfigInvocationHandler.java @@ -70,7 +70,7 @@ class ConfigInvocationHandler implements InvocationHandler { if (method.isDefault()) { - return callDefaultMethod(proxy, method, args); + return callDefaultMethod(proxy, method, null); } return null; @@ -88,7 +88,7 @@ class ConfigInvocationHandler implements InvocationHandler log.warn("Unable to unmarshal {}.{} ", group.keyName(), item.keyName(), e); if (method.isDefault()) { - return callDefaultMethod(proxy, method, args); + return callDefaultMethod(proxy, method, null); } return null; }