Allow old behavior for CommandRegisteredEvent (#8249)

This commit is contained in:
Jason Penilla
2022-08-06 16:22:51 -07:00
parent 2782b0c375
commit b9991242f3
4 changed files with 104 additions and 26 deletions

View File

@@ -5,5 +5,10 @@ import com.mojang.brigadier.suggestion.SuggestionProvider;
import java.util.function.Predicate;
/**
* Brigadier {@link Command}, {@link SuggestionProvider}, and permission checker for Bukkit {@link Command}s.
*
* @param <S> command source type
*/
public interface BukkitBrigadierCommand <S extends BukkitBrigadierCommandSource> extends Command<S>, Predicate<S>, SuggestionProvider<S> {
}