Merge pull request #51 from ZioPao/dev

v2.0.8
This commit is contained in:
Pao
2024-05-06 22:07:00 +02:00
committed by GitHub
3 changed files with 6 additions and 6 deletions

View File

@@ -381,9 +381,9 @@ function DataController.ReceiveData(key, data)
TOC_DEBUG.print("ReceiveData for " .. key)
if data == nil or data.limbs == nil then
TOC_DEBUG.print("Data is nil, new character or something is wrong")
end
-- if data == nil or data.limbs == nil then
-- TOC_DEBUG.print("Data is nil, new character or something is wrong")
-- end
-- Get DataController instance if there was none for that user and reapply the correct ModData table as a reference
local username = key:sub(5)
@@ -407,7 +407,7 @@ function DataController.ReceiveData(key, data)
end
handler:applyOnlineData(data)
elseif username == getPlayer():getUsername() then
TOC_DEBUG.print("loading local data")
TOC_DEBUG.print("Trying to load local data or no data is available")
handler:tryLoadLocalData(key)
end

View File

@@ -6,7 +6,7 @@ require("TOC/Events")
---@class Main
local Main = {
_version = "2.0.7"
_version = "2.0.8"
}
function Main.Start()

View File

@@ -4,5 +4,5 @@ description=You've been bitten. You have only two choices.
id=TheOnlyCure
icon=icon.png
url=https://github.com/ZioPao/The-Only-Cure
modversion=2.0.7
modversion=2.0.8
pzversion=41.65