fix: 🐛 Trying to fix ex's bg event bug after nt support

This commit is contained in:
DitFranXX
2021-05-26 19:52:27 +09:00
parent 860e2c8c7b
commit edc6b09a33
2 changed files with 9 additions and 15 deletions
+4 -1
View File
@@ -66,9 +66,12 @@ export function register() {
MultiRoute('gametop.get', getPlayer);
MultiRoute('gameend.regist', savePlayer);
// Misc
R.Route('bemani_gakuen.get_music_info', true)
R.Unhandled(async (info, data, send) => {
if (["eventlog"].includes(info.module)) return;
logger.error(`Received Unhandled Response on ${info.method} by ${info.model}/${info.module}`)
logger.error(`Received Unhandled Request on Method "${info.method}" by ${info.model}/${info.module}`)
logger.debugError(`Received Request: ${JSON.stringify(data, null, 4)}`)
})
}