File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.10.1] - 2025-03-16
11+
12+ ### Fixed
13+
14+ - Fixed DefaultDataLoadHelper
15+
1016## [ 0.10.0] - 2025-03-14
1117
1218### Changed
@@ -792,7 +798,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
792798[ #251 ] : https://github.com/LiteLDev/LegacyScriptEngine/issues/251
793799[ #252 ] : https://github.com/LiteLDev/LegacyScriptEngine/issues/252
794800
795- [ Unreleased ] : https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.10.0...HEAD
801+ [ Unreleased ] : https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.10.1...HEAD
802+ [ 0.10.1 ] : https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.10.0...v0.10.1
796803[ 0.10.0 ] : https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.10.0-rc.2...v0.10.0
797804[ 0.10.0-rc.2 ] : https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.10.0-rc.1...v0.10.0-rc.2
798805[ 0.10.0-rc.1 ] : https://github.com/LiteLDev/LegacyScriptEngine/compare/v0.9.7...v0.10.0-rc.1
Original file line number Diff line number Diff line change 77
88namespace lse ::api::MoreGlobal {
99DBStorage* dbStorage;
10- DefaultDataLoadHelper* helper;
11- DefaultDataLoadHelper& defaultDataLoadHelper () { return (DefaultDataLoadHelper&) helper; }
10+ DefaultDataLoadHelper helper;
11+ DefaultDataLoadHelper& defaultDataLoadHelper () { return helper; }
1212
1313LL_TYPE_INSTANCE_HOOK (
1414 DBStorageHook,
@@ -27,8 +27,7 @@ LL_TYPE_INSTANCE_HOOK(
2727void onLoad () { DBStorageHook::hook (); }
2828
2929bool onEnable () {
30- helper = (DefaultDataLoadHelper*)DefaultDataLoadHelper::$vftable ();
31- if (helper && dbStorage && DBStorageHook::unhook ()) {
30+ if (dbStorage && DBStorageHook::unhook ()) {
3231 return true ;
3332 }
3433 return false ;
You can’t perform that action at this time.
0 commit comments