getGroupOrNull

尝试获取 Group.

GroupAwareCommandSender 时返回 GroupAwareCommandSender.group, 否则返回 null

契约

本函数定义契约,