fix: Correctly filtered players in the AuthmePlaceholders expansion
This commit is contained in:
parent
818325a5f9
commit
57fe83c2e8
@ -14,6 +14,7 @@ final class AuthmePlaceholders {
|
||||
|
||||
static Expansion getExpansion(){
|
||||
return Expansion.builder("authme")
|
||||
.filter(Player.class)
|
||||
.audiencePlaceholder("is_logged", (aud, queue, ctx) ->
|
||||
Tag.selfClosingInserting(AuthMeApi.getInstance().isAuthenticated((Player)aud)
|
||||
? TRUE_COMPONENT
|
||||
|
Loading…
x
Reference in New Issue
Block a user