1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-07-04 00:51:21 +02:00

Depreciation of old display groups and display_lib global + warnings

This commit is contained in:
Pierre-Yves Rollo
2018-12-03 16:27:08 +01:00
parent a3e0d36a68
commit e46ece5ec6
7 changed files with 372 additions and 265 deletions

View File

@ -30,7 +30,7 @@ for i, material in ipairs(steles.materials) do
if ndef then
local groups = table.copy(ndef.groups)
local parts = material:split(":")
groups.display_modpack_node = 1
groups.display_api = 1
minetest.register_node("steles:"..parts[2].."_stele", {
description = steles.materials_desc[i],