From 9d69261011dcc3b8f3a2c28c8fb31519e5789208 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Thu, 16 Dec 2021 22:17:30 +0100 Subject: [PATCH] Fixed CraneItemType savegame warning --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index dde010fe..c10ac4e3 100644 --- a/main.lua +++ b/main.lua @@ -917,7 +917,7 @@ if EID.MCMLoaded or REPENTANCE then if savedEIDConfig.Version == EID.Config.Version then local isDefaultConfig = true for key, value in pairs(EID.Config) do - if type(value) ~= type(EID.DefaultConfig[key]) and key ~= "BagContent" and key ~= "BagFloorContent" then + if type(value) ~= type(EID.DefaultConfig[key]) and key ~= "BagContent" and key ~= "BagFloorContent" and key ~= "CraneItemType" then print("EID Warning! : Config value '"..key.."' has wrong data-type. Resetting it to default...") EID.Config[key] = EID.DefaultConfig[key] end