feat: add nukkit support

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-02-24 04:02:29 +08:00
parent 6d81a72106
commit 381ea25b46
4 changed files with 8 additions and 3 deletions

View File

@ -61,6 +61,11 @@ function detectServer() {
return 'sponge'
} catch (ex) {
}
try {
Java.type("cn.nukkit.Nukkit");
return 'nukkit'
} catch (ex) {
}
try {
Java.type("net.md_5.bungee.api.ProxyServer");
return 'bungee'