Skip to content

Commit

Permalink
Fix outdated for-each loop example. (#7299)
Browse files Browse the repository at this point in the history
Fix old example.
  • Loading branch information
Moderocky authored Dec 26, 2024
1 parent 69fba6b commit 380492f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/sections/SecFor.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ When looping a simple (non-indexed) set of values, e.g. all players, the index w
"loop key {_index} and value {_value} in {list of items::*}:",
"\tbroadcast \"%{_index}% = %{_value}%\"",
"",
"for each {_index} = {_value} in {my list::*}:",
"for each {_index}, {_value} in {my list::*}:",
"\tbroadcast \"%{_index}% = %{_value}%\"",
})
@Since("INSERT VERSION")
Expand Down

0 comments on commit 380492f

Please sign in to comment.