Fixed NPE crash with Factorization Barrels

Factorization attempts to get the localization serverside, so this is just a fix for the resulting crash. Ideally, the Factorization author will fix their code to prevent this.