2025-11-24 22:52:51 +03:00

18 lines
460 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.server.permissions;
import java.util.function.Predicate;
import net.minecraft.server.permissions.PermissionCheck;
import net.minecraft.server.permissions.PermissionSetSupplier;
public record PermissionProviderCheck<T extends PermissionSetSupplier>(PermissionCheck test) implements Predicate<T>
{
@Override
public boolean test(T t) {
return this.test.check(t.permissions());
}
}