Tinkers Construct

Tinkers Construct

160M Downloads

isValidMaterial checks for head thrice

RCXcrafter opened this issue ยท 2 comments

commented

I beleive you intended to check for head or handle or extra instead.

return material.hasStats(MaterialTypes.HEAD) || material.hasStats(MaterialTypes.HEAD) || material.hasStats(MaterialTypes.HEAD);

commented

Closing as 1.16 received a beta making 1.12 end of support. The fix should be pretty clear from the issue description, we probably wanted to make that any of head, handle, or extra instead of just head.

commented

We just want to be extra certain the head stats exist :)