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:
@ -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
|
||||
|
Reference in New Issue
Block a user