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

Fixed global vas errors and updated beginners_chest with license

This commit is contained in:
LeMagnesium
2015-01-25 22:34:03 +01:00
parent 0567321fa9
commit 618adecf2b
7 changed files with 354 additions and 10 deletions

View File

@ -492,7 +492,7 @@ minetest.register_abm({
-- Put result in "dst" list
inv:add_item("dst", cooked.item)
-- take stuff from "src" list
srcstack = inv:get_stack("src", 1)
local srcstack = inv:get_stack("src", 1)
srcstack:take_item()
inv:set_stack("src", 1, srcstack)
else

View File

@ -384,7 +384,7 @@ local function punch(pos)
local me = minetest.get_node(pos)
local tmp_node
local tmp_node2
oben = {x = pos.x, y = pos.y+1, z = pos.z}
local oben = {x = pos.x, y = pos.y+1, z = pos.z}
if state == 1 then
state = 0
minetest.sound_play("door_close", {pos = pos, gain = 0.175, max_hear_distance = 16})