Fixed crash with Factorization Barrels.
Merge pull request #557 from Shukaro/master

Fixed NPE crash with Factorization Barrels