EbonJaeger / perworldinventory-kt

Multi-world inventory plugin for Spigot written in Kotlin.
MIT License
46 stars 35 forks source link

API Cancelling InventoryLoadEvent issue #103

Open jeremynoesen opened 5 years ago

jeremynoesen commented 5 years ago

When I try to cancel the InventoryLoadEvent, it does not always work. The inventories are still loaded sometimes. The event is being fired off as I tested through some messages, but cancellations do not work every time..

EbonJaeger commented 5 years ago

Do you have any specific cases where this happens? What was the event triggered by?

jeremynoesen commented 5 years ago

Actually after testing, it seems the event can’t cancel at all. I’ve found a workaround for my plugin, but whoever needs it use this might find it problematic. There’s no specific time this happens other than all times. It was the game mode and world triggers.