timescale patchfix

This commit is contained in:
ZXMushroom63 2024-08-29 19:16:08 +08:00
parent 3dc920c144
commit efca77a8bf

View File

@ -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;
}
});