Closes #1
This commit is contained in:
parent
f73e32da6f
commit
3aab7b8520
2
api.lua
2
api.lua
@ -15,7 +15,7 @@ function tnttag.add_tnthead(p_name)
|
||||
local player = minetest.get_player_by_name(p_name)
|
||||
if player then
|
||||
local tnthead = minetest.add_entity(minetest.get_player_by_name(p_name):get_pos(), "tnttag:tnt_if_tagged", nil)
|
||||
tnthead:set_attach(minetest.get_player_by_name(p_name), "Head", {x=0, y=2, z=0})
|
||||
tnthead:set_attach(minetest.get_player_by_name(p_name), "Head", {x=0, y=10, z=0})
|
||||
end
|
||||
end
|
||||
-- removes the tnt entity
|
||||
|
Loading…
x
Reference in New Issue
Block a user