Closed cunhar closed 2 years ago
Yep, that looks wrong. I'll investigate.
in the render js there is an if statement that looks for e.best and it doesnt seem to exist in the JSON. i wonder if its left over logic
in the render js there is an if statement that looks for e.best and it doesnt seem to exist in the JSON. i wonder if its left over logic
Nope, it's not leftover. The error is that for some reason, as you pointed out, it doesn't exist in the JSON. Something is probably wrong in the Python code for finished events.
i am able to reproduce this error.
it is missing best
field in the summary
I fixed the issue. Will submit a PR shortly.
Please review: https://github.com/pdinklag/MinecraftStats/pull/189
Likely fixed by #195 , would be nice if a third party could confirm this (e.g., @cunhar )?
yeah this is no change to the data files. just a calculation error, so you could just pull the update and let us know if it worked for you
Likely fixed by #195 , would be nice if a third party could confirm this (e.g., @cunhar )?
I can't confirm what fixed it, but it is working properly now on https://www.hoobs.live/minecraft/index.html#events after I pulled the latest master.
Thank you <3
@cunhar thanks 👍
One of my events ended but it is not showing the event winner on the events list page. It only shows Winner: "(nobody)"
https://www.hoobs.live/minecraft/#events
^-- take a loot at the beegone event