player creative inventory bugfix

Player inventory bug fix. Does this fix #1538?