mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-08-03 04:00:16 +02:00
use unified dyes' rotation correction functions
This commit is contained in:
@ -113,7 +113,7 @@ minetest.register_node("homedecor:curtain_closed", {
|
||||
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||
selection_box = { type = "wallmounted" },
|
||||
after_dig_node = unifieddyes.after_dig_node,
|
||||
after_place_node = homedecor.fix_rotation,
|
||||
after_place_node = unifieddyes.fix_rotation,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local topnode = minetest.get_node({x=pos.x, y=pos.y+1.0, z=pos.z})
|
||||
if string.find(topnode.name, "homedecor:curtainrod") then
|
||||
@ -139,7 +139,7 @@ minetest.register_node("homedecor:curtain_open", {
|
||||
palette = "unifieddyes_palette_colorwallmounted.png",
|
||||
selection_box = { type = "wallmounted" },
|
||||
after_dig_node = unifieddyes.after_dig_node,
|
||||
after_place_node = homedecor.fix_rotation,
|
||||
after_place_node = unifieddyes.fix_rotation,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local topnode = minetest.get_node({x=pos.x, y=pos.y+1.0, z=pos.z})
|
||||
if string.find(topnode.name, "homedecor:curtainrod") then
|
||||
|
Reference in New Issue
Block a user