Destroying the instance will break stuff
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user