Enabled the error overlay on current server check upon play
This commit is contained in:
parent
2c663364cb
commit
95f1cee7b1
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user