Skip to content

Commit

Permalink
Fix issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRemote committed Aug 28, 2022
1 parent 64e93b9 commit fa2fbd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ A popular place to get plugins is: <a href="https://dev.bukkit.org/bukkit-plugin

<h2>Update History</h2>
<ul>
<li>August 22nd 2022</li>
<ul>
<li>Fix broken Geyser-Spigot config.yml issue (thanks vecnar, <a href="https://github.com/TheRemote/Legendary-Java-Minecraft-Geyser-Floodgate/issues/2">issue #2</a>)</li>
</ul>
<li>August 22nd 2022</li>
<ul>
<li>Add NoScreen environment variable -- disables screen which prevents needing an interactive terminal (but disables some logging)</li>
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ sed -i "/server-port=/c\server-port=$Port" /minecraft/server.properties
sed -i "/query\.port=/c\query\.port=$Port" /minecraft/server.properties
# Change Bedrock port in Geyser config
if [ -e /minecraft/plugins/Geyser-Spigot/config.yml ]; then
sed -i "0,/ port: /c\ port: $BedrockPort" /minecraft/plugins/Geyser-Spigot/config.yml
sed -i -z "s/ port: [0-9]*/ port: $BedrockPort/" /minecraft/plugins/Geyser-Spigot/config.yml
fi

# Start server
Expand Down

0 comments on commit fa2fbd7

Please sign in to comment.