mirror of
https://github.com/APercy/ap_airship.git
synced 2025-07-20 22:33:52 -04:00
added hook functions
This commit is contained in:
parent
915db448f9
commit
27c1988d4c
3 changed files with 62 additions and 5 deletions
2
init.lua
2
init.lua
|
@ -134,7 +134,7 @@ minetest.register_craftitem("ap_airship:airship", {
|
|||
--local node_below = minetest.get_node(pointed_pos).name
|
||||
--local nodedef = minetest.registered_nodes[node_below]
|
||||
|
||||
pointed_pos.y=pointed_pos.y+4
|
||||
pointed_pos.y=pointed_pos.y+4.6
|
||||
local airship = minetest.add_entity(pointed_pos, "ap_airship:airship")
|
||||
if airship and placer then
|
||||
local ent = airship:get_luaentity()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue