diff --git a/start-finalSetupWorld b/start-finalSetupWorld index bf3b5ded..5d1bd79c 100644 --- a/start-finalSetupWorld +++ b/start-finalSetupWorld @@ -26,7 +26,7 @@ if [[ "$WORLD" ]] && ( isTrue "${FORCE_WORLD_COPY}" || [ ! -d "$worldDest" ] ); (cd /tmp/world-data && unzip -o -q "$zipSrc") if [ "$TYPE" = "SPIGOT" ]; then - baseDirs=$(find /tmp/world-data -name "level.dat" -not -path "*_nether*" -not -path "*_the_end*" -printf "%h") + baseDirs=$(find /tmp/world-data -name "level.dat" -not -path "*_nether*" -not -path "*_the_end*" -exec dirname "{}" \;) else baseDirs=$(find /tmp/world-data -name "level.dat" -exec dirname "{}" \;) fi