diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e8c683..7ae1979 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ message("Using toolchain file ${CMAKE_TOOLCHAIN_FILE}.") ######################################################################################################################## project( PAPER - VERSION 2.2.2 + VERSION 2.2.3 DESCRIPTION "The PAper Papyrus ExtendeR. Plugin to expose new functions and events to Skyrim's 'Papyrus' scripting language. " LANGUAGES CXX) set(CMAKE_CXX_STANDARD 23) diff --git a/include/OnContainerChangedEventHandler.h b/include/OnContainerChangedEventHandler.h index 26ad877..2bc54b7 100644 --- a/include/OnContainerChangedEventHandler.h +++ b/include/OnContainerChangedEventHandler.h @@ -102,11 +102,11 @@ namespace OnContainerChangedEvents { virtual bool matchesFilter(RE::VMHandle handle) override { auto vm = RE::SkyrimVM::GetSingleton(); - const auto& constInventoryEventFilterMapLock = - GetManualRelocateMemberVariable(vm, REL::VariantOffset(0x8940, 0x8940, 0x8960)); + //const auto& constInventoryEventFilterMapLock = + // GetManualRelocateMemberVariable(vm, REL::VariantOffset(0x8940, 0x8940, 0x8960)); - auto& inventoryEventFilterMapLock = const_cast(constInventoryEventFilterMapLock); - RE::BSSpinLockGuard locker(inventoryEventFilterMapLock); + //auto& inventoryEventFilterMapLock = const_cast(constInventoryEventFilterMapLock); + //RE::BSSpinLockGuard locker(inventoryEventFilterMapLock); const auto& inventoryEventFilterMap = GetManualRelocateMemberVariable>( diff --git a/include/version.h b/include/version.h index 160f19b..46bb893 100644 --- a/include/version.h +++ b/include/version.h @@ -5,7 +5,7 @@ // // Instead, edit the template in /cmake/version.h.in -#define PROJECT_VER 2.2.2 +#define PROJECT_VER 2.2.3 #define PROJECT_VER_MAJOR 2 #define PROJECT_VER_MINOR 2 -#define PROJECT_VER_PATCH 2 +#define PROJECT_VER_PATCH 3 diff --git a/vcpkg.json b/vcpkg.json index 4d8de4e..995d055 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", "name": "paper-plugin", - "version-string": "2.2.2", + "version-string": "2.2.3", "port-version": 0, "description": "The PAper Papyrus ExtendeR. Plugin to expose new functions and events to Skyrim's 'Papyrus' scripting language.", "license": "Apache-2.0",