From fdfc7361df3b344cfa1b1e6a86547b8e1437e599 Mon Sep 17 00:00:00 2001 From: ShrBox Date: Sun, 25 Feb 2024 22:41:33 +0800 Subject: [PATCH] chore: update tooth.json --- CHANGELOG.md | 11 +++++++++++ manifest.json | 2 +- src/legacy/api/PlayerAPI.cpp | 2 +- tooth.json | 6 +++--- tooth.template.json | 2 +- 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9de81b..b98bb37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ 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.4.1] - 2024-02-25 + +### Fixed + +- Fix getLastDeathPos [#45] +- Fix Player::talkAs [#47] +- Fix Player::setBossBar [#49] + ## [0.4.0] - 2024-02-24 ### Changed @@ -94,7 +102,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#43]: https://github.com/LiteLDev/LegacyScriptEngine/issues/43 [#44]: https://github.com/LiteLDev/LegacyScriptEngine/issues/44 [#45]: https://github.com/LiteLDev/LegacyScriptEngine/issues/45 +[#47]: https://github.com/LiteLDev/LegacyScriptEngine/issues/47 +[#49]: https://github.com/LiteLDev/LegacyScriptEngine/issues/49 +[0.4.1]: https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.3.2...v0.4.0 [0.3.2]: https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.3.1...v0.3.2 [0.3.1]: https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.3.0...v0.3.1 diff --git a/manifest.json b/manifest.json index 786a161..d99db16 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "type": "native", "description": "A plugin engine for running LLSE plugins on LeviLamina", "author": "LiteLDev", - "version": "0.4.0", + "version": "0.4.1", "dependencies": [ { "name": "LegacyMoney" diff --git a/src/legacy/api/PlayerAPI.cpp b/src/legacy/api/PlayerAPI.cpp index 37d2a84..a4ddf83 100644 --- a/src/legacy/api/PlayerAPI.cpp +++ b/src/legacy/api/PlayerAPI.cpp @@ -3035,7 +3035,7 @@ Local PlayerClass::getBlockFromViewVector(const Arguments& args) { } Block const& bl = player->getDimensionBlockSource().getBlock(bp); if (bl.isEmpty()) return Local(); - return BlockClass::newBlock(std::move(&bl), &bp, player->getDimensionId().id); + return BlockClass::newBlock(std::move(&bl), std::move(&bp), &player->getDimensionBlockSource()); } CATCH("Fail in getBlockFromViewVector!"); } diff --git a/tooth.json b/tooth.json index bafd3af..f9601c7 100644 --- a/tooth.json +++ b/tooth.json @@ -1,7 +1,7 @@ { "format_version": 2, "tooth": "github.com/LiteLDev/LegacyScriptEngine", - "version": "0.4.0", + "version": "0.4.1", "info": { "name": "LegacyScriptEngine", "description": "A plugin engine for running LLSE plugins on LeviLamina", @@ -12,7 +12,7 @@ ] }, "dependencies": { - "gitea.litebds.com/LiteLDev/legacy-script-engine-lua": "0.4.0", - "gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs": "0.4.0" + "gitea.litebds.com/LiteLDev/legacy-script-engine-lua": "0.4.1", + "gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs": "0.4.1" } } diff --git a/tooth.template.json b/tooth.template.json index 04172c0..7760e9b 100644 --- a/tooth.template.json +++ b/tooth.template.json @@ -1,7 +1,7 @@ { "format_version": 2, "tooth": "gitea.litebds.com/LiteLDev/legacy-script-engine-${engine}", - "version": "0.4.0", + "version": "0.4.1", "info": { "name": "LegacyScriptEngine with ${engine} backend", "description": "A plugin engine for running LLSE plugins on LeviLamina",