mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-13 18:34:54 -05:00
remove unused
This commit is contained in:
parent
0310622870
commit
8cb60ec77e
1 changed files with 0 additions and 2 deletions
|
@ -17,7 +17,6 @@ function inject (bot, dcclient, config) {
|
|||
let nextIndex = 0
|
||||
let timeLastTimeUpdate = -1
|
||||
let timeGameJoined
|
||||
let timeUpdatesTotal = 0
|
||||
|
||||
const interval = setInterval(() => {
|
||||
if (!enabled) return
|
||||
|
@ -68,7 +67,6 @@ function inject (bot, dcclient, config) {
|
|||
tickRates[nextIndex] = clamp(20.0 / timeElapsed, 0.0, 20.0)
|
||||
nextIndex = (nextIndex + 1) % tickRates.length
|
||||
timeLastTimeUpdate = now
|
||||
timeUpdatesTotal++
|
||||
})
|
||||
|
||||
bot.on('end', () => clearInterval(interval))
|
||||
|
|
Loading…
Reference in a new issue