Fixed the share commands not working without OP permissions (cheats enabled in singleplayer).