Update betterStats.js to use new libhooktick APIs
This commit is contained in:
parent
f1b8e38c3e
commit
42f6a00d02
|
|
@ -4,7 +4,7 @@ let realTps = 0;
|
|||
let lastTps = 0;
|
||||
window.addEventListener("load", ()=>{
|
||||
requireMods(["mods/libhooktick.js"], () => {
|
||||
everyTick(()=>{
|
||||
beforeEveryTick(()=>{
|
||||
lastTps++;
|
||||
});
|
||||
setInterval(()=>{
|
||||
|
|
|
|||
Loading…
Reference in New Issue