refactor: removed unused code

This commit is contained in:
ZioPao
2025-04-13 03:16:06 +02:00
parent d850691053
commit 253c5717a9
5 changed files with 6 additions and 9 deletions

View File

@@ -50,6 +50,10 @@ Compat.handlers = {
['iMedsFixed'] = {
fun = Compat.iMeds,
isActive = false}
-- TODO Check if FirstAidOverhaul can be made compatible
}

View File

@@ -403,9 +403,6 @@ function DataController.ReceiveData(key, data)
handler:setup(key)
elseif data and data.limbs then
-- Let's validate that the data structure is actually valid to prevent issues
if data.isUpdateFromServer then
TOC_DEBUG.print("Update from the server")
end
handler:applyOnlineData(data)
elseif username == getPlayer():getUsername() then
TOC_DEBUG.print("Trying to load local data or no data is available")