Use EYE_OF_ENDER if warpMaterials doesn't contain a material for the warp or if it's null. Should fix #2