1
0
Fork 0
forked from svrjs/svrjs

Remove notifications about broken mods and server-side JavaScript outside the start function

This commit is contained in:
Dorian Niemiec 2024-08-26 06:36:57 +02:00
parent 1f043d774a
commit 1403a37dea

View file

@ -2144,15 +2144,6 @@ function start(init) {
} }
} }
modLoadingErrors.forEach((modLoadingError) => {
console.log('Error while loading "' + modLoadingError.modName + '" mod:');
console.log(modLoadingError.error);
});
if (SSJSError) {
console.log("Error while loading server-side JavaScript:");
console.log(SSJSError);
}
// Process event listeners // Process event listeners
if (cluster.isPrimary || cluster.isPrimary === undefined) { if (cluster.isPrimary || cluster.isPrimary === undefined) {
// Crash handler // Crash handler