diff --git a/teleport_arrow.lua b/teleport_arrow.lua index 6c21441..792c442 100644 --- a/teleport_arrow.lua +++ b/teleport_arrow.lua @@ -53,7 +53,7 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime) self.object:remove() if self.player ~= "" then self.player:setpos(pos) - self.player:get_inventory():add_item("main", ItemStack("defautl:mese_crystal_fragment")) + self.player:get_inventory():add_item("main", ItemStack("default:mese_crystal_fragment 2")) end end end @@ -65,7 +65,7 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime) self.object:remove() if self.player ~= "" then self.player:setpos(self.lastpos) - self.player:get_inventory():add_item("main", ItemStack("defautl:mese_crystal_fragment")) + self.player:get_inventory():add_item("main", ItemStack("default:mese_crystal_fragment 2")) end end end @@ -77,6 +77,8 @@ minetest.register_entity("throwing:arrow_teleport_entity", THROWING_ARROW_ENTITY minetest.register_craft({ output = 'throwing:arrow_teleport', recipe = { - {'default:stick', 'default:stick', 'default:mese_crystal_fragment 2'}, + {'' , '' , 'default:mese_crystal_fragment'}, + {'default:stick', 'default:stick', 'default:mese_crystal_fragment'}, + {'' , '' , 'default:mese_crystal_fragment'} } })