Add minecart group
This commit is contained in:
parent
ac094daedb
commit
556d0e6ee1
3 changed files with 15 additions and 11 deletions
|
@ -54,7 +54,7 @@ function set_inv(filter, player)
|
|||
table.insert(creative_list, name)
|
||||
end
|
||||
elseif filter == "#rail" then
|
||||
if def.groups.rail or def.groups.cart or def.groups.boat then
|
||||
if def.groups.rail or def.groups.minecart or def.groups.boat then
|
||||
table.insert(creative_list, name)
|
||||
end
|
||||
elseif filter == "#misc" then
|
||||
|
|
|
@ -275,6 +275,7 @@ minetest.register_craftitem("mcl_minecarts:minecart", {
|
|||
itemstack:take_item()
|
||||
return itemstack
|
||||
end,
|
||||
groups = { minecart = 1 },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue