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

Merge various fire's bug fixs and doors textures

This commit is contained in:
LeMagnesium
2014-12-14 22:33:57 +01:00
parent a0987886e7
commit 57b2df5054
9 changed files with 5 additions and 13 deletions

View File

@ -138,8 +138,8 @@ minetest.register_craftitem(":bucket:bucket_empty", {
return
end
-- Check if pointing to a liquid source.
node = minetest.get_node(pointed_thing.under)
liquiddef = bucket.liquids[node.name]
local node = minetest.get_node(pointed_thing.under)
local liquiddef = bucket.liquids[node.name]
if liquiddef ~= nil and liquiddef.itemname ~= nil and
(node.name == liquiddef.source or
(node.name == liquiddef.flowing and