aikar / aikar/commands

[Suggestion] Command Dependencies in Contexts of Conditions etc.

Aperta
#290 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
core
Lingua principale
Java
Stelle
628
Fork
150
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Would be a "nice to have" feature, to get access to the command dependencies in the contexts of custom parameters, conditions, etc.
It's nothing important, as the dependency could be accessed via the own plugin, but I think it would make the command code much cleaner, if I could access the dependency via "getDependency(MyCustomClass.class)" or "getDependency(File.class, "ConfigFile")

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.