pelican-eggs / minecraft

MIT License
51 stars 25 forks source link

Update egg-forge-enhanced.json #15

Open AxcelloHosting opened 2 months ago

AxcelloHosting commented 2 months ago

Now it shude download the forge server jar as it did not do that before

AxcelloHosting commented 2 months ago

Now it shude download the forge server jar as it did not do that before

QuintenQVD0 commented 2 months ago

@AxcelloHosting You messed up the change and overwrote a ptero exported egg on the pelican json file, please fix this asap

helio-cat commented 2 months ago

I just noticed the same problem and was about to do the same pull request :P

The issue seemed to be a bash syntax error due to a missing space which would cause issues with the server.jar file during isntallation.

The install script on line 35

if [ -z ${SERVER_JARFILE}]; then 
  SERVER_JARFILE=server.jar
fi

is missing a space in the IF condition:

if [ -z ${SERVER_JARFILE} ]; then 
  SERVER_JARFILE=server.jar
fi

This was the only fix I needed in my case.