mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
fix bug in timescale.js
This commit is contained in:
parent
e866954a27
commit
3a7dfa0818
@ -1,7 +1,7 @@
|
||||
(() => {
|
||||
ModAPI.title("Timescale Command");
|
||||
ModAPI.description("/timescale 0.5 to halve the speed of time");
|
||||
ModAPI.credits("By ZXMushroom63");
|
||||
ModAPI.meta.title("Timescale Command");
|
||||
ModAPI.meta.description("/timescale 0.5 to halve the speed of time");
|
||||
ModAPI.meta.credits("By ZXMushroom63");
|
||||
PluginAPI.addEventListener("sendchatmessage", (event) => {
|
||||
if (event.message.toLowerCase().startsWith("/timescale")) {
|
||||
var speed = parseFloat(event.message.split(" ")[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user