mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-05 06:53:52 +01:00
fix to treetap
This commit is contained in:
parent
eabde42244
commit
29a869c7e9
@ -7,7 +7,7 @@
|
|||||||
local pos=minetest.get_pointed_thing_position(pointed_thing,above)
|
local pos=minetest.get_pointed_thing_position(pointed_thing,above)
|
||||||
local node=minetest.env:get_node(pos)
|
local node=minetest.env:get_node(pos)
|
||||||
local node_name=node.name
|
local node_name=node.name
|
||||||
if node_name == "farming:rubber_tree_full" then
|
if node_name == "farming_plus:rubber_tree_full" then
|
||||||
user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
|
user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
|
||||||
minetest.env:set_node(pos,node)
|
minetest.env:set_node(pos,node)
|
||||||
local item=itemstack:to_table()
|
local item=itemstack:to_table()
|
||||||
|
Loading…
Reference in New Issue
Block a user