fix: 修复调试信息错误

This commit is contained in:
coding 2018-01-08 09:12:36 +00:00
parent 0fc6504c6a
commit d519bface0

View File

@ -49,7 +49,7 @@ function enable() {
function send(event, player){
// noinspection JSUnresolvedVariable
console.debug('玩家', player.name, "触发事件", event.class.simpleName);
console.debug('玩家', player.getName(), "触发事件", event.class.simpleName);
setTimeout(function () {
// noinspection JSUnresolvedVariable
player.sendMessage("§a欢迎来到 §bMiaoScript §a的世界! 当前在线: " + server.players.length)
@ -65,4 +65,4 @@ module.exports = {
load: load,
enable: enable,
disable: disable
};
};