Mc2Discord

Mc2Discord

50.4k Downloads

Crash on advancement

Darkere opened this issue ยท 5 comments

commented

https://hatebin.com/pklfhoytqo

the player was saying it was the Acquiring Hardware advancement but I don't think that's actually relevant. The game was running fine (with advancements in discord) for days before this.

Note we were still on 1.0.5.

commented

Thanks for reporting.
I just launch a server to reproduce this bug and I didn't get any problem with this advancement.
Can you describe the step to reproduce and/or send your config file after removing your bot token ?
Denis

commented

ok, so when in testing just now I've found that advancements seem quite a bit buggy on our server for some reason.
Was hoping the actual problem would be easily visible but from looking at the code it's not quite that obvious.
There have been lot's of advancements without a crash by now so I'm hoping it's just a very rare case. Will be back if it's happens more often :)

Config in case it's still relevant: https://pastebin.com/kehMvLSF

commented

Still happening in 1.0.6

commented

https://pastebin.com/buUrezE5 java.lang.NullPointerException: Ticking entity
at ml.denis3d.minecraft2discord.BotEvents.onAdvancement(BotEvents.java:103) ~[?:1.14.4-1.0.6] {}

commented

After reading my code again because of issue #16 I notice that I make a bug fix in 1.0.6.
Perhaps the bug was coming of that. If you still experience crash in 1.0.5 please update to the last version