Hello, before an update, i could get inventory click when a player is in gamemode 3 (even if i coudn’t get item i could use event for moderation, and now it’s blocked)
can i have a solution to get the event? )
Thx for your help
Hello, before an update, i could get inventory click when a player is in gamemode 3 (even if i coudn’t get item i could use event for moderation, and now it’s blocked)
can i have a solution to get the event? )
Thx for your help
Right, so… I have absolutely no idea what you’re doing, or even what Sponge API version you have. Please include the code that you currently have and the API version, otherwise we’re taking shots in the dark.
i use spongeforge-1.10.2-2281-5.2.0-BETA-2597
and before i used spongeforge-1.10.2-2281-5.2.0-BETA-2464
currently i use the event ClickInventoryEvent.
When i i’m in gamemode 3 (spectator) i can’t have this event.
if in my event i put a broadcast with “hello”.
When i do it in spectator mode, it do nothing.
but when i’m in creative, survival or adventure, (i didn’t try adventure) i have the message
I doubt it was ever intended to cause click inventory events in game mode 3. That said, this could either be construed as a bug or feature request.
You should make an issue against www.github.com/SpongePowered/SpongeCommon/