fix: fix dupe airblock

This commit is contained in:
Shepel Pavel 2024-12-22 11:29:39 +03:00 committed by Koldun
parent 833a9549c8
commit 9c157df9e1

View File

@ -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"),