Update mcl_shields/init.lua

This commit is contained in:
NO11 2022-02-18 10:48:23 +00:00
parent e972265762
commit 324e734fcb
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ local function handle_blocking(player)
player_shield.blocking = 2
end
elseif shield_in_offhand then
local offhand_can_block = (wielded_item(player) == "" or not mcl_util.get_pointed_thing(player))
local offhand_can_block = (wielded_item(player) == "" or not mcl_util.get_pointed_thing(player, true))
if offhand_can_block then
if not_blocking then
minetest.after(0.25, function()