Fix an NPE when loading potion configs