feat: 完成 Paper 26.1 适配并整理配置结构
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package cn.infstar.essentialsC.commands;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class AdminCommand extends BaseCommand {
|
||||
|
||||
public AdminCommand() {
|
||||
super("essentialsc.command.admin");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean execute(Player player, String[] args) {
|
||||
plugin.getAdminModeManager().toggle(player);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user