From 7ecbe386ae42c51767f17113ff3d11cb06fd1cd1 Mon Sep 17 00:00:00 2001 From: hhhxiao <1417599491@qq.com> Date: Mon, 1 Mar 2021 10:27:25 +0800 Subject: [PATCH] readd /backup crash --- mod/function/BackupHelper.cpp | 4 ++-- "\346\233\264\346\226\260\346\227\245\345\277\227.md" | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/function/BackupHelper.cpp b/mod/function/BackupHelper.cpp index 988dcf0..d5e8e18 100644 --- a/mod/function/BackupHelper.cpp +++ b/mod/function/BackupHelper.cpp @@ -125,8 +125,8 @@ Copy-Item -Path $SourcePath -Destination "$Destination" -Recurse | Out-Null { mod::restore(player, holder->getInt()); })) ->then(ARG("crash", "command.backup.crash.desc", NONE, { //这种指令的存在真的好吗 - trapdoor::warning(player, "this command has been removed"); - // *((char *) (0)) = 0; + //trapdoor::warning(player, "this command has been removed"); + *((char *) (0)) = 0; })); } diff --git "a/\346\233\264\346\226\260\346\227\245\345\277\227.md" "b/\346\233\264\346\226\260\346\227\245\345\277\227.md" index bdf3f40..8f9a327 100644 --- "a/\346\233\264\346\226\260\346\227\245\345\277\227.md" +++ "b/\346\233\264\346\226\260\346\227\245\345\277\227.md" @@ -4,6 +4,7 @@ - 正式移除玩家行为统计 ### bug修复 - 修复一堆文字错误 +- 重新添加回来崩服指令`backup crash` - 修复没有行为的指令如(`/village`)出现的崩服问题 ## 1.16.4-0.9.32 ### BUG修复