Fix possible NPE
Merge branch 'master' of https://github.com/aidancbrady/Mekanism