package xyz.refinedev.phoenix.chat.api; import org.bukkit.entity.Player; import java.util.function.BiFunction; public class ChatLimitation { private final String name; private final int priority; private final BiFunction function; public String getName() { return this.name; } public int getPriority() { return this.priority; } public BiFunction getFunction() { return this.function; } public ChatLimitation( String name, int priority, BiFunction biFunction) { this.name = name; this.priority = priority; this.function = biFunction; } }