Closed TrueMB closed 2 years ago
Describe the bug Since the plugin supported Velocity, it doesn't scan the server for the base time anymore.
https://github.com/TrueMB/DiscordNotify/blob/b54ecb85ecd18108ef1228658504599463d2473c/src/me/truemb/disnotify/spigot/main/Main.java#L233
Also the scan should import the data to the database in milliseconds not as ticks.
The playerinfo discord command f.e. tries to divide the counted milliseconds through ticks 1000 milli / 20 ticks -> Which outputs a way to high second value.
Fixed in https://github.com/TrueMB/DiscordNotify/commit/034161c218ab76eae5e1a7e678915141a21ea20e
Describe the bug Since the plugin supported Velocity, it doesn't scan the server for the base time anymore.
https://github.com/TrueMB/DiscordNotify/blob/b54ecb85ecd18108ef1228658504599463d2473c/src/me/truemb/disnotify/spigot/main/Main.java#L233
Also the scan should import the data to the database in milliseconds not as ticks.
The playerinfo discord command f.e. tries to divide the counted milliseconds through ticks 1000 milli / 20 ticks -> Which outputs a way to high second value.