fix: fix dupe airblock
This commit is contained in:
parent
833a9549c8
commit
9c157df9e1
@ -2,6 +2,7 @@ local S = minetest.get_translator("tech_additions")
|
||||
|
||||
local placeairblock = function ()
|
||||
return function(itemstack, user, pointed_thing)
|
||||
if minetest.is_creative_enabled(user:get_player_name()) then
|
||||
local pos = user:getpos()
|
||||
local dir = user:get_look_dir()
|
||||
local distancefromplayer = 3
|
||||
@ -20,6 +21,7 @@ local placeairblock = function ()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node("tech_additions:air_block", {
|
||||
description = S("Air Block"),
|
||||
|
Loading…
Reference in New Issue
Block a user