1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-28 11:55:29 +01:00

Removed global variables and fixed comparaison with nil

- Removed global variables in mods/snow/src/
- Fixed crash with unconfigured value in mods/plantlife_modpack/nature_classic/global_function.lua
This commit is contained in:
LeMagnesium
2015-02-15 23:29:18 +01:00
parent 31a6b257f5
commit e6bb61ffe5
4 changed files with 11 additions and 2 deletions

View File

@@ -271,6 +271,9 @@ for _, name in pairs(snow_nodes) do
local groups = {}
for k, v in pairs(ndef.groups) do groups[k] = v end
local drop
-- FIXME: FIND WHAT IS DROP SUPPOSED TO BE FROM AND FOR WHAT IT IS HERE
stairsplus:register_all("moreblocks", name, nodename, {
description = ndef.description,
drop = drop,