removed some useless warnings
This commit is contained in:
@@ -102,6 +102,7 @@ end
|
|||||||
local og_ISInventoryPane_refreshContainer = ISInventoryPane.refreshContainer
|
local og_ISInventoryPane_refreshContainer = ISInventoryPane.refreshContainer
|
||||||
|
|
||||||
---Get the list of items for the container and remove the reference to the amputation items
|
---Get the list of items for the container and remove the reference to the amputation items
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
function ISInventoryPane:refreshContainer()
|
function ISInventoryPane:refreshContainer()
|
||||||
og_ISInventoryPane_refreshContainer(self)
|
og_ISInventoryPane_refreshContainer(self)
|
||||||
if TOC_DEBUG.disablePaneMod then return end
|
if TOC_DEBUG.disablePaneMod then return end
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ Events.OnPlayerGetDamage.Add(PlayerHandler.CheckInfection)
|
|||||||
|
|
||||||
local og_ISBaseTimedAction_adjustMaxTime = ISBaseTimedAction.adjustMaxTime
|
local og_ISBaseTimedAction_adjustMaxTime = ISBaseTimedAction.adjustMaxTime
|
||||||
--- Adjust time
|
--- Adjust time
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
function ISBaseTimedAction:adjustMaxTime(maxTime)
|
function ISBaseTimedAction:adjustMaxTime(maxTime)
|
||||||
local time = og_ISBaseTimedAction_adjustMaxTime(self, maxTime)
|
local time = og_ISBaseTimedAction_adjustMaxTime(self, maxTime)
|
||||||
local modDataHandler = ModDataHandler.GetInstance()
|
local modDataHandler = ModDataHandler.GetInstance()
|
||||||
@@ -164,6 +165,7 @@ end
|
|||||||
|
|
||||||
local og_ISBaseTimedAction_perform = ISBaseTimedAction.perform
|
local og_ISBaseTimedAction_perform = ISBaseTimedAction.perform
|
||||||
--- After each action, level up perks
|
--- After each action, level up perks
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
function ISBaseTimedAction:perform()
|
function ISBaseTimedAction:perform()
|
||||||
og_ISBaseTimedAction_perform(self)
|
og_ISBaseTimedAction_perform(self)
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ end
|
|||||||
|
|
||||||
--* Overrides *--
|
--* Overrides *--
|
||||||
|
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
function ISWearClothing:isValid()
|
function ISWearClothing:isValid()
|
||||||
local bodyLocation = self.item:getBodyLocation()
|
local bodyLocation = self.item:getBodyLocation()
|
||||||
if not string.contains(bodyLocation, "TOC_ArmProst") then
|
if not string.contains(bodyLocation, "TOC_ArmProst") then
|
||||||
@@ -43,6 +44,7 @@ function ISWearClothing:isValid()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local og_ISClothingExtraAction_isValid = ISClothingExtraAction.isValid
|
local og_ISClothingExtraAction_isValid = ISClothingExtraAction.isValid
|
||||||
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
function ISClothingExtraAction:isValid()
|
function ISClothingExtraAction:isValid()
|
||||||
local bodyLocation = self.item:getBodyLocation()
|
local bodyLocation = self.item:getBodyLocation()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user