forked from VoxeLibre/VoxeLibre
Make node itemstack check in mcl_shields less hacky
This commit is contained in:
parent
de6ac057f5
commit
39d9370712
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue