After looking around i found people saying to use
Code: Select all
minetest.register_alias("mapgen_water_source", "air")
minetest.register_alias("default:water_source", "air")
So i tried , in a folder i named "nowater", i had made the following file
init.lua
Code: Select all
local path = minetest.get_modpath("nowater")
dofile(path .. "/aliases.lua")
Code: Select all
minetest.register_alias("mapgen_water_source", "air")
minetest.register_alias("default:water_source", "air")
Code: Select all
default
Code: Select all
name = nowater
So without having any idea of why it does not work, help please ?2017-05-02 11:53:32: WARNING[Main]: Not registering alias, item with same name is already defined: mapgen_water_source -> air
2017-05-02 11:53:32: WARNING[Main]: Not registering alias, item with same name is already defined: default:water_source -> air