adapt: adapt GMLIB 0.9.2

This commit is contained in:
Tsubasa6848
2024-03-03 15:46:30 +08:00
Unverified
parent 08b4d4c0c1
commit ea1912546f
3 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -274,8 +274,7 @@ void confirmDeleteForm(Player& pl, mce::UUID uuid, std::string name) {
if (player) {
return deleteFailedForm(pl, uuid, name);
}
auto serverId = GMLIB_Player::getServerIdFromUuid(uuid);
GMLIB_Player::deletePlayerNbt(serverId);
GMLIB_Player::deletePlayerNbt(uuid);
return pl.sendMessage(tr("checkPlayer.deleteNbt.success", {name}));
}
return checkPlayerForm(pl, uuid);
+3 -3
View File
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "github.com/GroupMountain/InventoryCheck",
"version": "0.9.0",
"version": "0.9.1",
"info": {
"name": "InventoryCheck",
"description": "Check Player's Inventory",
@@ -14,9 +14,9 @@
"gmlib"
]
},
"asset_url": "https://github.com/GroupMountain/InventoryCheck/releases/download/v0.9.0/InventoryCheck-windows-x64.zip",
"asset_url": "https://github.com/GroupMountain/InventoryCheck/releases/download/v0.9.1/InventoryCheck-windows-x64.zip",
"dependencies": {
"github.com/GroupMountain/GMLIB": ">=0.9.0"
"github.com/GroupMountain/GMLIB": ">=0.9.2"
},
"files": {
"place": [