Fix iterating over arguments

This commit is contained in:
Leonard Steppy 2025-12-22 20:53:51 +01:00
parent 158a544910
commit f28d63d7d8

View File

@ -14,7 +14,7 @@ function main {
fetch=false fetch=false
help=false help=false
for arg in "@$"; do for arg in "$@"; do
case "$arg" in case "$arg" in
"velocity") "velocity")
velocity=true velocity=true
@ -121,4 +121,4 @@ function enable_bungeecord {
yq -iy ".settings.bungeecord = $1" spigot.yml yq -iy ".settings.bungeecord = $1" spigot.yml
} }
main "@$" main "$@"