Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Jul 27, 2024
1 parent 49b9cee commit 5673f5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions java/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ if [[ "$AUTOMATIC_UPDATING" == "1" ]]; then
fi
fi

# check if libraries/net/minecraftforge/forge exists and no SERVER_JARFILE exists
if [ -d "libraries/net/minecraftforge/forge" ] && [ -z "${SERVER_JARFILE}" ]; then
# check if libraries/net/minecraftforge/forge exists and the SERVER_JARFILE file does not exist
if [ -d "libraries/net/minecraftforge/forge" ] && [ ! -f "$SERVER_JARFILE" ]; then
curl https://s3.mcjars.app/forge/ForgeServerJAR.jar -o $SERVER_JARFILE
fi

# check if libraries/net/neoforged/neoforge exists and no SERVER_JARFILE exists
if [ -d "libraries/net/neoforged/neoforge" ] && [ -z "${SERVER_JARFILE}" ]; then
# check if libraries/net/neoforged/neoforge exists and the SERVER_JARFILE file does not exist
if [ -d "libraries/net/neoforged/neoforge" ] && [ ! -f "$SERVER_JARFILE" ]; then
curl https://s3.mcjars.app/neoforge/NeoForgeServerJAR.jar -o $SERVER_JARFILE
fi

Expand Down

0 comments on commit 5673f5a

Please sign in to comment.