This commit is contained in:
sys4-fr 2021-03-06 12:58:51 +01:00 committed by GitHub
commit 4ede76f571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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