Enabled the error overlay on current server check upon play

This commit is contained in:
TheFlash787 2020-08-13 07:36:10 +01:00
parent 2c663364cb
commit 95f1cee7b1

View File

@ -85,7 +85,7 @@ function setLaunchEnabled(val){
// Bind launch button // Bind launch button
document.getElementById('launch_button').addEventListener('click', function(e){ document.getElementById('launch_button').addEventListener('click', function(e){
if(checkCurrentServer(false)){ if(checkCurrentServer(true)){
loggerLanding.log('Launching game..') loggerLanding.log('Launching game..')
const mcVersion = DistroManager.getDistribution().getServer(ConfigManager.getSelectedServer()).getMinecraftVersion() const mcVersion = DistroManager.getDistribution().getServer(ConfigManager.getSelectedServer()).getMinecraftVersion()
const jExe = ConfigManager.getJavaExecutable() const jExe = ConfigManager.getJavaExecutable()