OldCombatMechanics

OldCombatMechanics

46.1k Downloads

Could not pass event PlayerChangedWorldEvent

Lariesse opened this issue ยท 3 comments

commented

Server version: 1.16.1
Plugin version: 1.8.1
config.yml: https://pastebin.com/afhyA6gb
Console error: https://mcpaste.io/672de1e7161fdd31

This error sometimes occurs when a player switches from one world to another, it doesn't affect the function of the plugin (at the moment). I use multiverse.

commented

@Lariesse Could you try this dev build OCM.zip? You can also compile it from source, if you prefer that.

I can not reproduce the problem, but this dev build synchronizes access to an internal player-team map, which could have been affected by a race condition in the packet listener leading to an invalid internal state.

commented

@rayzr522 @I-Al-Istannen this looks like it has something to do with the team packets meddling?

commented

Hello @I-Al-Istannen

This problem is now fixed with your build, the problem appeared sometimes in the console but now is fixed, thank you.