Merge branch 'github'

This commit is contained in:
bri cassa 2021-03-06 12:56:39 +01:00
commit f8f2b1a8be
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ minetest.register_entity(":xdecor:book_open", {
physical = false,
textures = {"book_open.png"},
on_activate = function(self)
local pos = self.object:getpos()
local pos = self.object:get_pos()
local pos_under = {x=pos.x, y=pos.y-1, z=pos.z}
if minetest.get_node(pos_under).name ~= "xdecor:enchantment_table" then