peacefulcraft-network / TrenchPvP

PeacefulCraft Networks Trench Kit PvP
2 stars 0 forks source link

Player_Interact Ability Event Loop #108

Open Parsonswy opened 5 years ago

Parsonswy commented 5 years ago

AbilityClickListener is listening for PlayerInteractEvents and PlayerInteractEntityEvents and routing them to the PlayerInteract ability loop. Anything that is looking for PlayerInteractEntityEvents should be in the seperate PlayerInteractEntityEvent loop.

We need to figure out which - if any - abilities are listening to this PlayerInteractEvent loop from PlayerInteractEntityEvents and move them to register in the appropriate loop, and then remove the inappropriate one.

Parsonswy commented 5 years ago

This is also what is causing >.... [15:38:21 WARN]: [Trench]Error Triggering class net.peacefulcraft.trenchpvp.gameclasses.abilities.HiddenBlade event. Incompatible event loop class org.bukkit.event.player.PlayerInteractEntityEvent