mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
timescale patchfix
This commit is contained in:
parent
3dc920c144
commit
efca77a8bf
@ -33,6 +33,10 @@
|
||||
globalThis.timeScale = BigInt(Math.round(speed));
|
||||
}
|
||||
}
|
||||
if (ModAPI.server) {
|
||||
console.log(ModAPI.server);
|
||||
ModAPI.server.currentTime = PluginAPI.hooks.methods.nms_MinecraftServer_getCurrentTimeMillis();
|
||||
}
|
||||
event.preventDefault = true;
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user