Skip to content

Commit 0575c0c

Browse files
committed
fix: send console command before restart
1 parent bfdff23 commit 0575c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ async function main() {
6969
}
7070
}
7171

72-
if (restart) await restartServer(serverId);
7372
if (command != "") await sendConsoleCommand(serverId, command);
73+
if (restart) await restartServer(serverId);
7474
}
7575

7676
core.info("Done");

0 commit comments

Comments
 (0)