tweak hemp block/stairs groups

This commit is contained in:
tenplus1 2023-07-06 13:01:40 +01:00
parent f1dd45d903
commit b2d1289353
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ minetest.register_node("farming:hemp_block", {
description = S("Hemp Block"), description = S("Hemp Block"),
tiles = {"farming_hemp_block.png"}, tiles = {"farming_hemp_block.png"},
paramtype = "light", paramtype = "light",
groups = {snappy = 1, oddly_breakable_by_hand = 1, flammable = 2}, groups = {snappy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_leaves_defaults() sounds = default.node_sound_leaves_defaults()
}) })
@ -121,14 +121,14 @@ if minetest.global_exists("stairs") then
if stairs.mod and stairs.mod == "redo" then if stairs.mod and stairs.mod == "redo" then
stairs.register_all("hemp_block", "farming:hemp_block", stairs.register_all("hemp_block", "farming:hemp_block",
{snappy = 1, flammable = 2}, {snappy = 2, oddly_breakable_by_hand = 1, flammable = 2},
{"farming_hemp_block.png"}, {"farming_hemp_block.png"},
"Hemp Block", "Hemp Block",
default.node_sound_leaves_defaults()) default.node_sound_leaves_defaults())
else else
stairs.register_stair_and_slab("hemp_block", "farming:hemp_block", stairs.register_stair_and_slab("hemp_block", "farming:hemp_block",
{snappy = 1, flammable = 2}, {snappy = 2, oddly_breakable_by_hand = 1, flammable = 2},
{"farming_hemp_block.png"}, {"farming_hemp_block.png"},
"Hemp Block Stair", "Hemp Block Stair",
"Hemp Block Slab", "Hemp Block Slab",