Inventory fix

This fixes an inventory issue when joining as one gamemode then leaving. Other gamemode-changing plugins can make what it was before an issue.