Fixing permission check on CommandBlockLogic