Skip to content

Commit

Permalink
account for Lua API change
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalint committed Sep 21, 2021
1 parent e06df27 commit 3ef51d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java_bridge/jcallable_method.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function jcallable_method:__call(...)
if m.modifiers.static and object.class.name ~= "java.lang.Class" then
object = object.class
end
return m(object.object_raw, argc, unpack(jargs))
return m(object.object_raw, argc, table.unpack(jargs))
end
end
--print("more than one possible method, using: " .. method_id.name .. " from " .. lj_toString(method_id.class))
Expand Down

0 comments on commit 3ef51d5

Please sign in to comment.