From a256cc0bd7c3db690eba262be2b659124a01b03e Mon Sep 17 00:00:00 2001 From: Hume2 Date: Tue, 18 Jun 2019 10:30:32 +0200 Subject: [PATCH] Make it work --- streetsmod/init.lua | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/streetsmod/init.lua b/streetsmod/init.lua index c9b78b6..92ec1e0 100644 --- a/streetsmod/init.lua +++ b/streetsmod/init.lua @@ -25,14 +25,9 @@ streets = {} fin = 0 } streets.forms = {} - --- rubenwardy: smartfs - if not minetest.get_modpath("smartfs") then - dofile(streets.modpath .. "/libs/smartfs/smartfs.lua") - end -- Load forms - dofile(streets.modpath .. "/forms.lua") + --dofile(streets.modpath .. "/forms.lua") -- Check for mods which change this mod's beahaviour print("Streets: " .. streets.S("Checking installed mods...")) @@ -77,12 +72,12 @@ streets = {} local mult = 10^(idp or 0) return math.floor(num * mult + 0.5) / mult end - minetest.register_chatcommand("streets",{ +--[[ minetest.register_chatcommand("streets",{ description = streets.S("Check version of your installed StreetsMod and find information"), func = function(name,param) streets.forms.chatcmd:show(name); end - }) + })--]] -- Done print("Streets: " .. streets.S("Setup completed, have fun with StreetsMod") .. " " .. streets.version .. "!")