Disable node meta override by default
This commit is contained in:
parent
0eeb39575f
commit
8cb95fa855
|
@ -37,9 +37,11 @@ support them, however this does have some limitations:
|
||||||
- If your mod stores `minetest.show_formspec` during load time, you'll need to
|
- If your mod stores `minetest.show_formspec` during load time, you'll need to
|
||||||
add `fs51` as an optional dependency to `mod.conf` so it can use the patched
|
add `fs51` as an optional dependency to `mod.conf` so it can use the patched
|
||||||
show_formspec code.
|
show_formspec code.
|
||||||
- If a mod you use has broken node formspecs with fs51 enabled, try adding
|
- If you need to have node meta formspecs work in older clients, try adding
|
||||||
`fs51.disable_meta_override = true` to minetest.conf (and please open an
|
`fs51.disable_meta_override = false` to minetest.conf. Note that this does
|
||||||
issue against fs51).
|
not correctly parse `${key}` syntax (see https://gitlab.com/luk3yx/minetest-fs51/-/issues/1),
|
||||||
|
I recommend using `minetest.show_formspec` instead if possible as fs51 is
|
||||||
|
also able to perform backports based on the client's version.
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@ minetest.register_on_joinplayer(function(player)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
if minetest.settings:get_bool('fs51.disable_meta_override') then
|
if minetest.settings:get_bool('fs51.disable_meta_override', true) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
fs51.disable_monkey_patching (Prevent fs51 auto-translation) bool false
|
fs51.disable_monkey_patching (Prevent fs51 auto-translation) bool false
|
||||||
|
|
||||||
# Disables node meta formspec translation.
|
# Disables node meta formspec translation.
|
||||||
fs51.disable_meta_override (Prevent node meta override) bool false
|
fs51.disable_meta_override (Prevent node meta override) bool true
|
||||||
|
|
Loading…
Reference in New Issue