diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-01-27 12:11:36 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-01-27 12:11:36 +0000 |
commit | 98e2407fecc8006c08edc7832ae036b671754a84 (patch) | |
tree | 518eadb801eacd49600d34af70a19e30987c3de6 | |
parent | 7fcb90873211e968ea3759aabfeb3659fbbbac72 (diff) |
Fixed protector overlap bug
-rw-r--r-- | init.lua | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -260,9 +260,7 @@ function protector.check_overlap(itemstack, placer, pointed_thing) return itemstack end - if not protector.can_dig(protector.radius * 2, pointed_thing.under, - placer:get_player_name(), true, 3) - or not protector.can_dig(protector.radius * 2, pointed_thing.above, + if not protector.can_dig(protector.radius * 2, pointed_thing.above, placer:get_player_name(), true, 3) then minetest.chat_send_player(placer:get_player_name(), |