Closed NewwindServer closed 1 month ago
This is something I've had in mind, sorta. I was debating removing the API-only defaults and going back to internals here or using an abstract class that caches type -> state. I don't want to add it to InventoryAccess, so I'll move handling somewhere else before release, but it's good to get this in either way.
We need to use reflection for this since the method is only available in paper API, it falls back to the spigot one if spigot is being used. Fixes #233