Skip to content

Commit

Permalink
fix: add missing CommandOutput::success
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jul 3, 2024
1 parent 6c5a25e commit 998fe44
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.1] - 2024-07-03

- Add missing `CommandOutput::success`

## [0.5.0] - 2024-06-19

- Adapt to LeviLamina 0.13.x
Expand Down Expand Up @@ -65,6 +69,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- First release

[0.5.1]: https://github.com/ShrBox/BackupHelper/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/ShrBox/BackupHelper/compare/v0.4.3...v0.5.0
[0.4.3]: https://github.com/ShrBox/BackupHelper/compare/v0.4.2...v0.4.3
[0.4.2]: https://github.com/ShrBox/BackupHelper/compare/v0.4.1...v0.4.2
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"type": "native",
"description": "A LeviLamina plugin which is port from LiteLoaderBDS to help you backup more easily",
"author": "yqs112358 & ShrBox",
"version": "0.5.0"
"version": "0.5.1"
}
2 changes: 2 additions & 0 deletions src/OldBackupHelper/BackupCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ void RegisterCommand() {
CmdBackup(origin.getEntity() ? static_cast<Player*>(origin.getEntity())->getUuid() : mce::UUID::EMPTY);
break;
}
output.success();
});
command.overload<BackupRecoverCommand>()
.text("recover")
Expand All @@ -142,6 +143,7 @@ void RegisterCommand() {
origin.getEntity() ? static_cast<Player*>(origin.getEntity())->getUuid() : mce::UUID::EMPTY,
param.recoverNumber
);
output.success();
}
);
}
4 changes: 2 additions & 2 deletions tooth.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "github.com/ShrBox/BackupHelper",
"version": "0.5.0",
"version": "0.5.1",
"info": {
"name": "BackupHelper",
"description": "A LeviLamina plugin which is port from LiteLoaderBDS to help you backup more easily",
Expand All @@ -11,7 +11,7 @@
"plugin"
]
},
"asset_url": "https://github.com/ShrBox/BackupHelper/releases/download/v0.5.0/BackupHelper-windows-x64.zip",
"asset_url": "https://github.com/ShrBox/BackupHelper/releases/download/v0.5.1/BackupHelper-windows-x64.zip",
"dependencies": {
"gitea.litebds.com/ShrBox/7-zip": "23.x"
},
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_rules("mode.debug", "mode.release")

add_repositories("liteldev-repo https://github.com/LiteLDev/xmake-repo.git")

add_requires("levilamina 0.13.0", "simpleini")
add_requires("levilamina 0.13.3", "simpleini")

if not has_config("vs_runtime") then
set_runtimes("MD")
Expand Down

0 comments on commit 998fe44

Please sign in to comment.