SpongeAPI
SpongeAPI copied to clipboard
Return type of Container#type()
Major SpongeAPI version
8
Is this likely to be a breaking change?
Yes
What are you requesting?
Change Container#type() return type from ContainerType to Optional< ContainerType> because it's nullable (e.g. in ClickContainerEvent#inventory() when interacting with just player's inventory)