[homedecor (mp)] Update to Git patch d0d79dc:
https://github.com/AntumDeluge/mtmp-homedecor/tree/d0d79dcmaster
parent
73f653fb96
commit
b004054e73
|
@ -534,7 +534,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
|||
[patch.farming_plus]: https://github.com/AntumDeluge/mtmod-farming_plus/tree/454a443
|
||||
[patch.hbarmor]: https://github.com/AntumDeluge/mtmod-hbarmor/tree/d1168bb
|
||||
[patch.helicopter]: https://github.com/AntumDeluge/mtmod-helicopter/tree/dd53fdd
|
||||
[patch.homedecor]: https://github.com/AntumDeluge/mtmp-homedecor/tree/1776dea
|
||||
[patch.homedecor]: https://github.com/AntumDeluge/mtmp-homedecor/tree/d0d79dc
|
||||
[patch.hovercraft]: https://github.com/AntumDeluge/mtmod-hovercraft/tree/73a6223
|
||||
[patch.hud]: https://github.com/AntumDeluge/mtmod-hud/tree/6846e20
|
||||
[patch.hudbars]: https://github.com/AntumDeluge/mtmod-hudbars/tree/31926a0
|
||||
|
|
|
@ -63,6 +63,15 @@ homedecor.register("bed_regular", {
|
|||
end,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local itemname = itemstack:get_name()
|
||||
if itemname == "homedecor:bed_regular" then
|
||||
homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true)
|
||||
return itemstack
|
||||
else
|
||||
if minetest.get_modpath("beds") then
|
||||
beds.on_rightclick(pos, clicker)
|
||||
end
|
||||
return itemstack
|
||||
end
|
||||
if minetest.get_modpath("beds") then
|
||||
beds.on_rightclick(pos, clicker)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue