Closed galacticwarrior9 closed 3 years ago
I'll have to look into what is happening here, it sounds like the cannons plugin is not properly dealing with async API calls, which may not be possible to fix.
Does this happen on both translation and rotation or just translation?
Upon discussion with @cccm5 it was found that this is a problem due to the way eirik's fork calls events async.
APDevTeam movecraft does not have this problem. As such I am dropping support for eirik's fork and closing this.
The following error is thrown upon each
CraftPreTranslateEvent
using the Movecraft-Cannons (v0.1.0) and Movecraft-Eirik jars bundled in the latest release with Cannons v2.5.8 on 1.16.4, preventing cannons data from being translated with the craft:CannonBeforeCreateEvent
can be fired from theCannonManager#getCannon
method, which is used byMovecraftCannons#getCannons
, which is called asynchronously from theCraftPreTranslate
listener. According to the first reply to this thread from the Spigot forums, sync events must be called from the main thread in 1.14+.