MT-Modder
2015-03-01 b8c902868115a0a607da35e208a422e430d46317
technic/tools/tree_tap.lua
@@ -22,6 +22,7 @@
      node.name = "moretrees:rubber_tree_trunk_empty"
      minetest.swap_node(pos, node)
      minetest.handle_node_drops(pointed_thing.above, {"technic:raw_latex"}, user)
      if not technic.creative_mode then
      local item_wear = tonumber(itemstack:get_wear())
      item_wear = item_wear + 819
      if item_wear > 65535 then
@@ -29,6 +30,7 @@
         return itemstack
      end
      itemstack:set_wear(item_wear)
      end
      return itemstack
   end,
})