forgot to clean globalShutdownBackupFlag
This commit is contained in:
parent
9ffa3f0005
commit
3d4867519c
@ -29,6 +29,7 @@ public class KillRestoreCommand {
|
||||
.executes(ctx -> {
|
||||
if(Statics.restoreAwaitThread != null && Statics.restoreAwaitThread.isAlive()) {
|
||||
Statics.restoreAwaitThread.interrupt();
|
||||
Statics.globalShutdownBackupFlag.set(true);
|
||||
Statics.LOGGER.sendInfo(ctx.getSource(), "Backup restoration successfully stopped");
|
||||
Statics.LOGGER.info("{} cancelled backup restoration.", ctx.getSource().getEntity() != null ?
|
||||
"Player: " + ctx.getSource().getName() :
|
||||
|
Loading…
Reference in New Issue
Block a user