Rethinking structure a bit

This commit is contained in:
ZioPao
2024-01-08 10:57:01 +01:00
parent 6b1205e160
commit 312294edb8
19 changed files with 229 additions and 222 deletions

View File

@@ -1,4 +1,4 @@
local ModDataHandler = require("TOC/Handlers/ModDataHandler")
local DataController = require("TOC/Controllers/DataController")
---@class SurgeryHandler
---@field type string
@@ -28,7 +28,7 @@ function SurgeryHandler:execute()
if self.type == "oven" then
ModDataHandler.GetInstance():setIsCauterized(self.limbName, true)
DataController.GetInstance():setIsCauterized(self.limbName, true)
end
end