diff --git a/SDK-GMLIB b/SDK-GMLIB index fa3ec71..2bb9134 160000 --- a/SDK-GMLIB +++ b/SDK-GMLIB @@ -1 +1 @@ -Subproject commit fa3ec71bdcb9a23d90544e858d4d2db60ad2fd74 +Subproject commit 2bb91343e1885f21937705b8fcce304b94bc40ba diff --git a/src/InventoryCheck.cpp b/src/InventoryCheck.cpp index 5281cf5..fbf7ca0 100644 --- a/src/InventoryCheck.cpp +++ b/src/InventoryCheck.cpp @@ -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); diff --git a/tooth.json b/tooth.json index 70bf2cd..8565ebb 100644 --- a/tooth.json +++ b/tooth.json @@ -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": [