mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-30 19:13:53 +01:00
Fix bonemeal mod detection to look for the global bonemeal, not whether the bonemeal mod name has been loaded
This commit is contained in:
parent
84741f5cb9
commit
5fca3e4322
@ -29,6 +29,7 @@ Note to self: See the bottom of this file for the release template text.
|
|||||||
- Add `holly` ⇒ `hollytree:sapling`
|
- Add `holly` ⇒ `hollytree:sapling`
|
||||||
- `//replacemix`: Improve error handling to avoid crashes (thanks, Jonathon for reporting via Discord!)
|
- `//replacemix`: Improve error handling to avoid crashes (thanks, Jonathon for reporting via Discord!)
|
||||||
- Cloud wand: Improve chat message text
|
- Cloud wand: Improve chat message text
|
||||||
|
- Fix `bonemeal` mod detection to look for the global `bonemeal`, not whether the `bonemeal` mod name has been loaded
|
||||||
|
|
||||||
|
|
||||||
## v1.12: The selection tools update (26th June 2021)
|
## v1.12: The selection tools update (26th June 2021)
|
||||||
|
@ -55,7 +55,7 @@ dofile(we_c.modpath.."/commands/extra/saplingaliases.lua")
|
|||||||
dofile(we_c.modpath.."/commands/extra/basename.lua")
|
dofile(we_c.modpath.."/commands/extra/basename.lua")
|
||||||
|
|
||||||
-- Don't registry the //bonemeal command if the bonemeal mod isn't present
|
-- Don't registry the //bonemeal command if the bonemeal mod isn't present
|
||||||
if minetest.get_modpath("bonemeal") then
|
if minetest.global_exists("bonemeal") then
|
||||||
dofile(we_c.modpath.."/commands/bonemeal.lua")
|
dofile(we_c.modpath.."/commands/bonemeal.lua")
|
||||||
dofile(we_c.modpath.."/commands/forest.lua")
|
dofile(we_c.modpath.."/commands/forest.lua")
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user