projects
/
zefram
/
minetest
/
technic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eabde42
)
fix to treetap
author
Maciej Kasatkin
<mk@realbadangel.pl>
Tue, 9 Oct 2012 17:08:04 +0000
(19:08 +0200)
committer
Maciej Kasatkin
<mk@realbadangel.pl>
Tue, 9 Oct 2012 17:08:04 +0000
(19:08 +0200)
tree_tap.lua
patch
|
blob
|
history
diff --git
a/tree_tap.lua
b/tree_tap.lua
index 92c56b0511b95d597273546e845ed93454b9c1ef..6f38fed3b0ca3a09f52bebade4464f03a5ef410f 100644
(file)
--- a/
tree_tap.lua
+++ b/
tree_tap.lua
@@
-7,7
+7,7
@@
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:rubber_tree_full" then
+ if node_name == "farming
_plus
:rubber_tree_full" then
user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
minetest.env:set_node(pos,node)
local item=itemstack:to_table()