Destroying the instance will break stuff

This commit is contained in:
ZioPao
2024-05-15 11:38:08 +02:00
parent dc921e4c04
commit a1336c8d2e
2 changed files with 4 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ ItemsController.Player = {}
---@return number ---@return number
---@private ---@private
function ItemsController.Player.GetAmputationTexturesIndex(playerObj, isCicatrized) function ItemsController.Player.GetAmputationTexturesIndex(playerObj, isCicatrized)
-- FIX Broken
local textureString = playerObj:getHumanVisual():getSkinTexture() local textureString = playerObj:getHumanVisual():getSkinTexture()
local isHairy = textureString:sub(-1) == "a" local isHairy = textureString:sub(-1) == "a"

View File

@@ -58,8 +58,9 @@ function Main.WipeData(player)
-- Let's wipe the instance too just to be sure -- Let's wipe the instance too just to be sure
local DataController = require("TOC/Controllers/DataController") -- TODO This can break things I guess
DataController.DestroyInstance(username) --local DataController = require("TOC/Controllers/DataController")
--DataController.DestroyInstance(username)
end end