style: 格式化代码

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
2017-11-15 21:00:07 +08:00
parent 612d4ee856
commit dc716dc87c
7 changed files with 43 additions and 38 deletions

View File

@ -123,8 +123,8 @@ function newItemFromConfig(config) {
function enable() {
command.on(this, 'l', {
cmd: function (sender, command, args) {
if(!sender.openInventory){
console.sender(sender, "§4当前用户无法使用该命令!");
if (!sender.openInventory) {
console.sender(sender, "§4当前用户无法使用该命令!");
}
var inv = bukkit.$.createInventory(null, 54, config.title);
inv.setContents(items);