1
0
Fork 0

Fix crafting table

This commit is contained in:
Wuzzy 2017-01-05 23:54:02 +01:00
parent c488b1b0ce
commit ef435e730b
1 changed files with 3 additions and 2 deletions

View File

@ -174,7 +174,7 @@ minetest.register_on_joinplayer(function(player)
end) end)
minetest.register_node("crafting:workbench", { minetest.register_node("crafting:workbench", {
description = "Workbench", description = "Crafting Table",
tiles = {"crafting_workbench_top.png", "default_wood.png", "crafting_workbench_side.png", tiles = {"crafting_workbench_top.png", "default_wood.png", "crafting_workbench_side.png",
"crafting_workbench_side.png", "crafting_workbench_front.png", "crafting_workbench_front.png"}, "crafting_workbench_side.png", "crafting_workbench_front.png", "crafting_workbench_front.png"},
paramtype2 = "facedir", paramtype2 = "facedir",
@ -182,7 +182,8 @@ minetest.register_node("crafting:workbench", {
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=2}, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=2},
on_rightclick = function(pos, node, clicker, itemstack) on_rightclick = function(pos, node, clicker, itemstack)
set_workbench(clicker) set_workbench(clicker)
end end,
sounds = default.node_sound_wood_defaults(),
}) })
minetest.register_craft({ minetest.register_craft({