File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/laytonsmith/core/functions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -330,8 +330,8 @@ public ExampleScript[] examples() throws ConfigCompileException {
330330 + "\t 'noPermMsg': 'You do not have permission to give hugs to players (Sorry :o).',\n "
331331 + "\t 'tabcompleter':\n "
332332 + "\t \t closure(@alias, @sender, @args) {\n "
333- + "\t \t \t // This replicates the default tabcompleter for registered commands."
334- + "\t \t \t // If no tabcompleter is set, this behavior is used."
333+ + "\t \t \t // This replicates the default tabcompleter for registered commands.\n "
334+ + "\t \t \t // If no tabcompleter is set, this behavior is used.\n "
335335 + "\t \t \t @input = @args[-1];\n "
336336 + "\t \t \t return(array_filter(all_players(), closure(@key, @value) {\n "
337337 + "\t \t \t \t return(length(@input) <= length(@value)\n "
@@ -342,7 +342,7 @@ public ExampleScript[] examples() throws ConfigCompileException {
342342 + "\t 'executor':\n "
343343 + "\t \t closure(@alias, @sender, @args) {\n "
344344 + "\t \t \t if(array_size(@args) == 1) {\n "
345- + "\t \t \t \t @target = @args[0];"
345+ + "\t \t \t \t @target = @args[0];\n "
346346 + "\t \t \t \t if(ponline(@target)) {\n "
347347 + "\t \t \t \t \t broadcast(colorize('&4'.@sender.' &6hugs &4'.@target));\n "
348348 + "\t \t \t \t } else {\n "
You can’t perform that action at this time.
0 commit comments