1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

[moreblocks & ferns] Fix double drops and global variables

- Fix a global variable in mods/moreblocks/stairsplus/init.lua
- Fix double drops of fern trunks and leaves (see #180)
This commit is contained in:
LeMagnesium
2015-11-20 16:51:16 +01:00
parent 58bfcadec6
commit b5f6b76237
2 changed files with 7 additions and 8 deletions

View File

@ -18,7 +18,7 @@ and minetest.setting_getbool("creative_mode") then
end
function stairsplus:prepare_groups(groups)
result = {}
local result = {}
if groups then
for k, v in pairs(groups) do
if k ~= "wood" and k ~= "stone" then