style: formatting code

This commit is contained in:
MiaoWoo 2019-02-23 16:00:53 +00:00
parent c2c17a46d4
commit ccdbd8b683
2 changed files with 14 additions and 14 deletions

View File

@ -59,8 +59,8 @@ function enable() {
return ['reload']; return ['reload'];
} }
}); });
bukkit.players(function (p) fakeTag.set(p)); bukkit.players(function(p) { fakeTag.set(p) });
event.on(self, 'PlayerJoin', function (event) fakeTag.set(event.player)); event.on(self, 'PlayerJoin', function(event) { fakeTag.set(event.player) });
var entityUpdate = function(event) { var entityUpdate = function(event) {
var player = event.entity || event.player; var player = event.entity || event.player;
if (player instanceof org.bukkit.entity.Player) { if (player instanceof org.bukkit.entity.Player) {