mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-11-11 02:25:26 +01:00
cleanup codebase (#46)
* cleanup codebase * fix typo * add nil checks to on_place * nuke all mod loaded statements
This commit is contained in:
@@ -53,7 +53,7 @@ minetest.register_craft({
|
||||
{"default:stick",""}
|
||||
}
|
||||
})
|
||||
if minetest.get_modpath("flint") ~= nil then
|
||||
if minetest.get_modpath("flint") then
|
||||
minetest.register_craft({
|
||||
output = "dryplants:sickle",
|
||||
recipe = {
|
||||
@@ -63,7 +63,7 @@ if minetest.get_modpath("flint") ~= nil then
|
||||
}
|
||||
})
|
||||
end
|
||||
if minetest.get_modpath("stoneage") ~= nil then
|
||||
if minetest.get_modpath("stoneage") then
|
||||
minetest.register_craft({
|
||||
output = "dryplants:sickle",
|
||||
recipe = {
|
||||
|
||||
Reference in New Issue
Block a user