From 29da1621627ed5d058656f5defccd91a417cb337 Mon Sep 17 00:00:00 2001 From: Rag Date: Wed, 16 Oct 2024 23:51:19 -0700 Subject: [PATCH] Fix var name --- common/gcincluderag.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/gcincluderag.lua b/common/gcincluderag.lua index 3cc2ae0..8ab5582 100644 --- a/common/gcincluderag.lua +++ b/common/gcincluderag.lua @@ -195,11 +195,11 @@ function gcinclude.DoCommands(args) gcinclude.UnlockNonWeapon() else AshitaCore:GetChatManager():QueueCommand(-1, '/lac enable all') - if (not NoTPLockJobs:contains(player.MainJob)) then gcdisplay.CreateToggle('LockTP', false) end + if (not isMage:contains(player.MainJob)) then gcdisplay.CreateToggle('LockTP', false) end end else AshitaCore:GetChatManager():QueueCommand(-1, '/lac disable all') - if (not NoTPLockJobs:contains(player.MainJob)) then gcdisplay.CreateToggle('LockTP', false) end + if (not isMage:contains(player.MainJob)) then gcdisplay.CreateToggle('LockTP', false) end end elseif (args[1] == 'locktp') then gcdisplay.AdvanceToggle('LockTP')