From 214f36157a29d88feb11a8786e7606c0b4809992 Mon Sep 17 00:00:00 2001 From: jgmdev Date: Tue, 31 May 2022 16:29:14 -0400 Subject: [PATCH] plugins: only check mod version --- data/core/init.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/data/core/init.lua b/data/core/init.lua index e151b8be..5b75badb 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -876,13 +876,6 @@ local function get_plugin_details(filename) if mod_version then version_match = (mod_version == MOD_VERSION) end - -- The following pattern is used for backward compatibility only - -- Future versions will look only at the mod-version tag. - local version = line:match('%-%-%s*lite%-xl%s*(%d+%.%d+)$') - if version then - -- we consider the version tag 2.0 equivalent to mod-version:2 - version_match = (version == '2.0' and MOD_VERSION == "2") - end end if not priority then priority = line:match('%-%-.*%f[%a]priority%s*:%s*(%d+)')