Browse Source

add hoe group to hoes

pull/18/head
TenPlus1 1 year ago
parent
commit
c770314dda
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      hoes.lua

+ 4
- 0
hoes.lua View File

@@ -24,6 +24,10 @@ farming.register_hoe = function(name, def)
def.max_uses = 30
end

-- add hoe group
def.groups = def.groups or {}
def.groups.hoe = 1

-- Register the tool
minetest.register_tool(name, {
description = def.description,


Loading…
Cancel
Save