Skip to content

Commit 312defc

Browse files
committed
runCommand -> runCommandAsync
1 parent cedf3a4 commit 312defc

File tree

4 files changed

+1
-33
lines changed

4 files changed

+1
-33
lines changed

scripts/player-extra/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function Player(player: mc.Player): PlayerExtra {
2929
return getGamemode(player);
3030
},
3131
kick(reason: string) {
32-
player.runCommand(`kick "${player.name}" ${reason}`);
32+
player.runCommandAsync(`kick "${player.name}" ${reason}`);
3333
},
3434
getScore(objectiveId: string) {
3535
return mc.world.scoreboard

scripts/youareanidiot/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

scripts/youareanidiot/index.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

scripts/youareanidiot/youareanidiot-tests.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)