Make node itemstack check in mcl_shields less hacky

This commit is contained in:
Mikita Wiśniewski 2024-08-09 16:12:15 +07:00 committed by the-real-herowl
parent de6ac057f5
commit 39d9370712
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ local function remove_shield_entity(player, i)
end
local function is_node_stack(itemstack)
return itemstack:get_definition().drawtype -- only node's definition table contains element "drawtype"
return (itemstack:get_definition().type == "node")
end
local function is_rmb_conflicting_node(nodename)