From 7d3b2f921e70c3560aeaadaa6ca98e6511d1671f Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 7 Feb 2017 00:17:06 -0500 Subject: [PATCH] perform the after-place-fix-rotation at the end of on_place --- homedecor/books.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homedecor/books.lua b/homedecor/books.lua index b6790e33..27127e38 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,