Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the return function regex #5814

Merged
merged 13 commits into from
Jul 17, 2023
Prev Previous commit
Next Next commit
Update EffReturn.java
  • Loading branch information
ahmadmsaleem authored Jul 12, 2023
commit b8294bc3cedbbdd709104551eb5ae1a6a4268abf
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/effects/EffReturn.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@Description("Makes a function return a value")
@Examples({
"function double(i: number) :: number:",
"\treturn 2 * {_i}"
"\treturn 2 * {_i}",
"",
"function divide(i: number) :: number:",
ahmadmsaleem marked this conversation as resolved.
Show resolved Hide resolved
"\treturn {_i} / 2"
Expand Down