这里小雨.
RT

我想在A.java B.java中实现类似于
this.getCommand("指令1").setExecutor(new A());

this.getCommand("指令1").setExecutor(new B());

并且可以一起使用

而不是
this.getCommand("指令1").setExecutor(new A());

this.getCommand("指令2").setExecutor(new B());


这样是如何实现的

cnYeqi
你想要两个插件使用同一个指令?只能通过提供API吧...
那为什么不写在一起

这里小雨.
cnYeqi 发表于 2022-5-3 10:54
你想要两个插件使用同一个指令?只能通过提供API吧...
那为什么不写在一起 ...

看着太难受了

第一页 上一页 下一页 最后一页