The weird thing here is that I’m not even recieving an error for this.
I understand that you need to supply a cause for this method, however there’s no real documentation on WHAT to place in there, or how to build the Cause. What I’ve used is:
Cause.of(NamedCause.source(player))
However despite giving no errors in the console, the inventory doesn’t close either.
I am indeed on a recent version of sponge, it’s odd that if you were to give it a blank Cause, it will definitely notify you of that, yet does nothing when I actually supply one.