fix: 修复调试信息错误
This commit is contained in:
parent
0fc6504c6a
commit
d519bface0
@ -49,7 +49,7 @@ function enable() {
|
|||||||
|
|
||||||
function send(event, player){
|
function send(event, player){
|
||||||
// noinspection JSUnresolvedVariable
|
// noinspection JSUnresolvedVariable
|
||||||
console.debug('玩家', player.name, "触发事件", event.class.simpleName);
|
console.debug('玩家', player.getName(), "触发事件", event.class.simpleName);
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
// noinspection JSUnresolvedVariable
|
// noinspection JSUnresolvedVariable
|
||||||
player.sendMessage("§a欢迎来到 §bMiaoScript §a的世界! 当前在线: " + server.players.length)
|
player.sendMessage("§a欢迎来到 §bMiaoScript §a的世界! 当前在线: " + server.players.length)
|
||||||
@ -65,4 +65,4 @@ module.exports = {
|
|||||||
load: load,
|
load: load,
|
||||||
enable: enable,
|
enable: enable,
|
||||||
disable: disable
|
disable: disable
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user