mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-22 21:51:17 -09:00
automatic rehost
This commit is contained in:
parent
d6ee24ca52
commit
7b6786441f
@ -114,7 +114,7 @@
|
|||||||
gui.innerText += "\n" + ModAPI.util.ustr(status);
|
gui.innerText += "\n" + ModAPI.util.ustr(status);
|
||||||
}
|
}
|
||||||
}, ModAPI.util.str(worldName), 0).then(code => {
|
}, ModAPI.util.str(worldName), 0).then(code => {
|
||||||
opening = true; //change to false later
|
opening = false;
|
||||||
if (code != null) {
|
if (code != null) {
|
||||||
ModAPI.hooks.methods.nlevs_SingleplayerServerController_configureLAN(ModAPI.mc.playerController.currentGameType.getRef(), 0);
|
ModAPI.hooks.methods.nlevs_SingleplayerServerController_configureLAN(ModAPI.mc.playerController.currentGameType.getRef(), 0);
|
||||||
var msg = "code: " + ModAPI.util.ustr(code) + " relay: " + ModAPI.util.ustr(ModAPI.hooks.methods.nlevsl_LANServerController_getCurrentURI());
|
var msg = "code: " + ModAPI.util.ustr(code) + " relay: " + ModAPI.util.ustr(ModAPI.hooks.methods.nlevsl_LANServerController_getCurrentURI());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user