1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-18 08:00:40 +01:00

nicify stuff per fluxionary

This commit is contained in:
unknown 2022-05-01 20:45:03 -04:00
parent 10504fb5e2
commit c999979865

View File

@ -33,8 +33,8 @@ local kbed_cbox = {
}
local bed_on_rightclick =
minetest.registered_nodes["beds:bed"] and minetest.registered_nodes["beds:bed"].on_rightclick or nil
local bed_def = minetest.registered_nodes["beds:bed"]
local bed_on_rightclick = bed_def and bed_def.on_rightclick or nil
homedecor.register("bed_regular", {
mesh = "homedecor_bed_regular.obj",