Dispenser-Projects / Lectern

GNU General Public License v2.0
10 stars 3 forks source link

`instance.timer.unref is not a function` when the animation is stopped #34

Closed Theaustudio closed 2 years ago

Theaustudio commented 2 years ago
Uncaught TypeError TypeError: instance.timer.unref is not a function
    at <anonymous> ([d:\Theo\Documents\gunivers\Dispenser]() API\Minecraft-Block-Renderer\src\renderer\AnimatedTexture.ts:182:24)
    at <anonymous> ([d:\Theo\Documents\gunivers\Dispenser]() API\Minecraft-Block-Renderer\src\utils\Observable.ts:29:46)
    at setValue ([d:\Theo\Documents\gunivers\Dispenser]() API\Minecraft-Block-Renderer\src\utils\Observable.ts:29:28)
    at playTextureAnimationButton.onchange ([d:\Theo\Documents\gunivers\Dispenser]() API\Minecraft-Block-Renderer\src\sidebar.ts:55:45)
theogiraudet commented 2 years ago

Fixed in commit 5da897a