Fixes marcuswhybrow/minecraft-server-manager#147

(cherry picked from commit f0bad0bbed7b2b72fa7a274a380a619476da6030)