From 0ffd6bc4c00942e766e50c8717b24fb3fc873438 Mon Sep 17 00:00:00 2001 From: Lexie <6937574+Lexiebean@users.noreply.github.com> Date: Thu, 2 Nov 2023 07:25:05 +1100 Subject: [PATCH] Version Control fix --- Core/AtlasLoot.lua | 2 +- Instances/instances.en.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/AtlasLoot.lua b/Core/AtlasLoot.lua index d4b99ca..9e2da93 100644 --- a/Core/AtlasLoot.lua +++ b/Core/AtlasLoot.lua @@ -3848,7 +3848,7 @@ function ChatFrame_OnEvent(event) if name == "LFT" then local msg, v, remoteversion = AtlasLoot_strsplit(":", arg1) if msg == "Atlasloot" then - local remoteversion = tonumber(remoteversion) + local remoteversion = tonumber(remoteversion) or 0 if remoteversion >= 40000 then remoteversion = 0 end --Block for people using some version from another version of WoW. if v == "VERSION" and remoteversion then if remoteversion > localversion then diff --git a/Instances/instances.en.lua b/Instances/instances.en.lua index 5a1d096..92d256a 100644 --- a/Instances/instances.en.lua +++ b/Instances/instances.en.lua @@ -3261,7 +3261,7 @@ AtlasLoot_Data["AtlasLootItems"] = { { 60543, "INV_misc_wrench_01", "=q3=Wrench of Creation", "=ds=#h3#, #w6#", "20%" }, { 60545, "INV_weapon_rifle_07", "=q3=Techrifle X-TREME 5200", "=ds=#w5#", "20%" }, { 0, "", "", "" }, - { 60539, "INV_misc_questionmark", "=q3=Decoy Dragonling Remote", "=ds=#s15#", "15%" }, + { 60539, "Inv_gizmo_goblingtonkcontroller", "=q3=Decoy Dragonling Remote", "=ds=#s15#", "15%" }, { 0, "", "", "" }, { 13325, "ability_mount_mechastrider", "=q4=Fluorescent Green Mechanostrider", "=ds=#e7#", "0.025%" }, { 0, "", "", "" },