feat: 执行指令时默认以控制台身份
This commit is contained in:
@@ -404,6 +404,10 @@ public final class CoreBukkitUtils {
|
||||
player.setOp(op);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), command);
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (CommandException e) {
|
||||
e.printStackTrace();
|
||||
|
Reference in New Issue
Block a user