Fix undecleard global in builtin_item

This commit is contained in:
Wuzzy 2020-03-31 01:02:58 +02:00
parent 19b0e53b30
commit c99b080396
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ minetest.register_entity(":__builtin:item", {
end
if minetest.registered_nodes[name].liquidtype == "flowing" then
get_flowing_dir = function(self)
local get_flowing_dir = function(self)
local pos = self.object:get_pos()
local param2 = minetest.get_node(pos).param2
for i,d in ipairs({-1, 1, -1, 1}) do