remove unused imports & stop mixing returns with and without values
This commit is contained in:
@@ -33,7 +33,7 @@ world.beforeEvents.playerLeave.subscribe((event) => {
|
||||
return;
|
||||
Builders.onLeave(event.player.id);
|
||||
});
|
||||
world.afterEvents.worldLoad.subscribe((event) => {
|
||||
world.afterEvents.worldLoad.subscribe(() => {
|
||||
for (const player of world.getAllPlayers()) {
|
||||
if (!player)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user