We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c61d6 commit 8e04a81Copy full SHA for 8e04a81
getting-started.md
@@ -122,7 +122,8 @@ end
122
123
script:registerCommand(function(sender, args)
124
-- Joining arguments to string using space as delimiter.
125
- local message = table.concat(args, " ")
+ -- java.luaify(...) function is responsible for converting Java objects to Lua. In this case, it converts String[] to a Lua table.
126
+ local message = table.concat(java.luaify(args), " ")
127
-- Sending message back to the sender.
128
sender:sendRichMessage(message)
129
end, {
0 commit comments