1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2025-06-30 15:10:46 +02:00

various cleanups

This commit is contained in:
BuckarooBanzay
2024-09-26 19:48:32 +02:00
parent 08c83f52ce
commit fbd56e67c9
6 changed files with 10 additions and 13 deletions

View File

@ -14,7 +14,7 @@ local chest_formspec =
-- Helper functions
local function drop_chest_stuff()
return function(pos, oldnode, oldmetadata, digger)
return function(pos, _, oldmetadata)
local meta = minetest.get_meta(pos)
meta:from_table(oldmetadata)
local inv = meta:get_inventory()