Fixed bug with saws
This commit is contained in:
@@ -6,7 +6,7 @@ require("TOC/Events")
|
||||
|
||||
---@class Main
|
||||
local Main = {
|
||||
_version = "2.0.13"
|
||||
_version = "2.0.14"
|
||||
}
|
||||
|
||||
function Main.Start()
|
||||
|
||||
@@ -13,7 +13,8 @@ local CutLimbAction = require("TOC/TimedActions/CutLimbAction")
|
||||
---Check if the item type corresponds to a compatible saw
|
||||
---@param itemType string
|
||||
local function CheckIfSaw(itemType)
|
||||
return itemType:contains(StaticData.SAWS_TYPES_IND_STR.saw) or itemType:contains(StaticData.SAWS_TYPES_IND_STR.gardenSaw)
|
||||
return itemType == StaticData.SAWS_TYPES_IND_STR.saw
|
||||
or itemType == StaticData.SAWS_TYPES_IND_STR.gardenSaw
|
||||
end
|
||||
|
||||
---Return a compatible bandage
|
||||
|
||||
Reference in New Issue
Block a user