Closed AlexIIL closed 6 years ago
Sometimes HeadUtils.getName() will return null if the stack is invalid or there's some other issue with the stack.
HeadUtils.getName()
This was found in https://pastebin.com/raw/RdvFG6zX (BuildCraft/BuildCraft#4268)
(Committed on github directly, while I can't see any mistakes please change and/or compile this yourself to check that it still works)
Sometimes
HeadUtils.getName()
will return null if the stack is invalid or there's some other issue with the stack.This was found in https://pastebin.com/raw/RdvFG6zX (BuildCraft/BuildCraft#4268)
(Committed on github directly, while I can't see any mistakes please change and/or compile this yourself to check that it still works)