Removed unnecessary check in configmanager for server code
This commit is contained in:
parent
670a5083d1
commit
407adcae14
@ -44,8 +44,8 @@ exports.setDataDirectory = function(dataDirectory){
|
|||||||
*
|
*
|
||||||
* @returns {string} The server code that has been put into the launcher
|
* @returns {string} The server code that has been put into the launcher
|
||||||
*/
|
*/
|
||||||
exports.getServerCode = function(def = false){
|
exports.getServerCode = function(){
|
||||||
return !def ? config.settings.launcher.serverCode : DEFAULT_CONFIG.settings.launcher.serverCode
|
return config.settings.launcher.serverCode
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user