diff options
author | Maciej Kasatkin <mk@realbadangel.pl> | 2012-10-20 05:50:57 +0200 |
---|---|---|
committer | Maciej Kasatkin <mk@realbadangel.pl> | 2012-10-20 05:50:57 +0200 |
commit | ee9ffa8619233fe80dd07eb35f48ec6062c8cfa6 (patch) | |
tree | d6613d6f28e483d2c50d65fe5a73b10c16c36079 /tree_tap.lua | |
parent | a382a2241ad0cdfdd718cd985fdd46c62d5f1a9e (diff) |
Fixed naming bug with latex
Diffstat (limited to 'tree_tap.lua')
-rw-r--r-- | tree_tap.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tree_tap.lua b/tree_tap.lua index 9061cea..76f50ef 100644 --- a/tree_tap.lua +++ b/tree_tap.lua @@ -3,12 +3,12 @@ inventory_image = "technic_tree_tap.png", on_use = function(itemstack,user,pointed_thing) if pointed_thing.type~="node" then return end - if user:get_inventory():room_for_item("main",ItemStack("technic:caouthouc")) then + if user:get_inventory():room_for_item("main",ItemStack("technic:raw_latex")) then local pos=minetest.get_pointed_thing_position(pointed_thing,above) local node=minetest.env:get_node(pos) local node_name=node.name 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:raw_latex")) minetest.env:set_node(pos,node) local item=itemstack:to_table() local item_wear=tonumber((item["wear"])) |