diff --git a/common/common-kit/src/main/java/com/iohao/game/common/kit/asm/ClassRefInfo.java b/common/common-kit/src/main/java/com/iohao/game/common/kit/asm/ClassRefInfo.java index 1a9285366..1eb75428d 100644 --- a/common/common-kit/src/main/java/com/iohao/game/common/kit/asm/ClassRefInfo.java +++ b/common/common-kit/src/main/java/com/iohao/game/common/kit/asm/ClassRefInfo.java @@ -143,7 +143,7 @@ public T invokeGetter(Object object, String filedName) { public ClassRefInfo invokeSetter(Object object, String filedName, Object value) { FieldRefInfo filedRefInfo = filedRefInfoMap.get(filedName); - String methodName = filedRefInfo.getMethodGetName(); + String methodName = filedRefInfo.getMethodSetName(); MethodRefInfo methodRefInfo = getMethodRefInfo(methodName); methodRefInfo.invokeMethod(object, value);