summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--homedecor/books.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/homedecor/books.lua b/homedecor/books.lua
index b6790e3..27127e3 100644
--- a/homedecor/books.lua
+++ b/homedecor/books.lua
@@ -43,7 +43,6 @@ homedecor.register("book", {
walkable = false,
paramtype2 = "colorwallmounted",
palette = "unifieddyes_palette_colorwallmounted.png",
- after_place_node = homedecor.fix_rotation_nsew,
after_dig_node = unifieddyes.after_dig_node,
stack_max = 1,
on_punch = function(pos, node, puncher, pointed_thing)
@@ -86,6 +85,7 @@ homedecor.register("book", {
if not homedecor.expect_infinite_stacks then
itemstack:take_item()
end
+ homedecor.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
return itemstack
end,
on_dig = book_dig,