Restrict team member query to global world scope.
This commit is contained in:
parent
80462218a7
commit
8c7ec0a237
|
|
@ -16,6 +16,7 @@ public interface TeamMemberMapper {
|
|||
FROM luckperms_user_permissions AS permissions
|
||||
INNER JOIN luckperms_players AS players ON players.uuid = permissions.uuid
|
||||
WHERE permission = #{groupPermission}
|
||||
AND world = 'global'
|
||||
""")
|
||||
List<Player> getTeamMembers(@Param("groupPermission") String groupPermission);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user