1
0

fixed "doesnt match" text

This commit is contained in:
BlackImpostor 2024-05-14 19:35:28 +03:00 committed by GitHub
parent fc97a5bf99
commit fd3dc68969
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
local http = minetest.request_http_api() local http = minetest.request_http_api()
local version = "0.7.2" local version = "0.7.1"
local modpath = minetest.get_modpath(minetest.get_current_modname()) local modpath = minetest.get_modpath(minetest.get_current_modname())
essentials = { essentials = {
a = "Created by SkyBuilder1717 (ContentDB)", a = "Created by SkyBuilder1717 (ContentDB)",
@ -47,7 +47,7 @@ minetest.after(0, function()
--core.chat_send_all(dump(test)) --core.chat_send_all(dump(test))
if git > this then if git > this then
minetest.log("warning", "[Essentials] Versions doesnt match!") minetest.log("warning", "[Essentials] Versions doesnt match!")
core.chat_send_all("[Essentials] Your server using old version of mod! ("..core.colorize("red", version)..") Old version can have a bugs! Download v"..core.colorize("lime", result.data:gsub("[\n\\]", ""))..".") core.chat_send_all("[Essentials] Your server using old version of mod! ("..core.colorize("red", version)..") Old version can have a bugs! Download v"..core.colorize("lime", result.data:gsub("[\n\\]", "")).." on ContentDB.")
else else
local _type local _type
if core.is_singleplayer() then if core.is_singleplayer() then