[nalc_moretrees] Corrige crash démarrage

This commit is contained in:
Sys Quatre 2020-06-14 11:59:05 +02:00
parent a92f131145
commit e0d51644c2

View File

@ -357,7 +357,7 @@ end
-- Redefinir les feuilles avec l'apparence plantlike si configuré dans les paramètres
-- (Améliore les performances des clients)
if minetest.settings:get_bool(plantlike_leaves) or moretrees.plantlike_leaves then
if minetest.settings:get_bool("plantlike_leaves") or moretrees.plantlike_leaves then
local function o_leaves(name, texture)
minetest.override_item(name, {
inventory_image = minetest.inventorycube(texture),